hello everyone, i am making a app that identifies if you are late or not but as you can see even if the user is not passed 11:30am he is still late and wont declare that he is early, how can i resolve and fix this problem?
To compare time, you'd better to change the string time to an instant, please check the Clock component, there are blocks for make instant from text string.
where can i find that math block?
In the maths drawer
You need to right click and select inline external input for that "look" [edit]
External Inputs
1 Like
You should read the documentation about how you can make an instant from a time
i did it but still an error "The date you entered is invalid"
You are testing on iOS?
(from my phone)
Can someone post a draggable blocks test of that code fragment to run in a Do It on iOS?
yes
Does that block work in your Companion under a Do It?
Show us?
The OP fed Make instant hh:mm:ss but it only takes hh:mm ?
Both hh:mm:ss and hh:mm working.
In android
In iOS?