Thank you for the prompt response
I don't use any companion I try the app on an Android device (phone and Android TV screen) The error always appears on TV (more Stable on the phone devices)
Note: on thinking, not sure what happens with mid-day, whether it returns a 12 or a 00. If it returns a 12 then try changing the 11 in the procedure to a 12.
Thank you
I might switch to another screen (call it say updating data screen with timer) at midnight and return to the main screen to update the data
I hope it will resolve it
Thank you all for highlighting this beneficial information
Yeah I got the point and I am trying to work on it
since the CSV file was saved in 24 time format (i.e. HH:mm example : 17:00 instead of 05:00 pm)
Now I need to work on it to re saved it in 12 hour time format
I hope it will eventually work
Also I won't forget to thank @TIMAI2 for his idea :
I would like to understand where exactly the problem is. Post the aia or better a small test aia (and especially the CSV file or a small test version of it).
It all looks unnecessarily complicated to me. The comparison between the current system time (time of day) and a specified time in the HH:mm format should not be a problem. I also don't see to what extent the time format (24-hour format) should be a problem here.
The app is working fine especially on mobile phones
But sometimes displays the above alert that I posted in the beginning
Sorry ti be so picky , Argument to MakeInstant should have form .............................. etc
It appears more often on android TV screens (or Android TV box that converts normal TV to Android TV Screen)
It appears specifically when the app move to a screen and return (the screen will close and open another after timer of 120,000 Millis)
I don't really know why this happens?
I don't even understand why it is more stable on mobiles but less stable on TV screens ?
Q please
What's the best way to do comparison between two times?
Is the way that applied in the above aia file is ok
or it's better to use an extension like Tformat made by @Anke ?