Check if dateTime is in time interval

Hi, I would like to check if the DateTime in military time from the clock is inside or outside of a time interval.

In my app I'm tring to display if certain services are available or not at the time of the app usage.

How can I do it?
If I try using < or > blocks I get the error:
The operation < cannot accept the arguments: , ["18:42"], ["08:30"]
because the block only works with numbers.

  1. Military time would not have a :

  2. Use the compare text block?

  3. Better, work with milliseconds (therefore numbers) in the background, and "military time" for display purposes.

You can get military time from hour (0-23) and minute by the formula (100 * hour) + minute.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.