Find if the time now is correct

Hi

I'm on board of making an app which shows power cut schedules for the day. Thanks to some replies from this post, I have been able to sync Firebase with App Inventor.
I've got another problem. I want the user to know whether the time for power cut in the selected area is active or not.

Example: In sector A, the power cut times are 2:00 PM - 3:00 PM. The current time is 2:30 PM.
I want the app to check the current time and see if this time is/between the schedule for the day. How can I do this?

Any help would be appreacited!

1 Like

Convert all three times to millis instants, then use maths blocks:

a < b < c
1 Like

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