Hi everyone,
I need to count down the time by showing hours and minutes to 9:30AM each day in the app. So if you run the app at 10:00AM it will show 23:30 on the screen and update. So the way I was planning to do this is determine what that time is in seconds like os.time() does and take the difference between now and then in seconds and divide to get the hours and minutes.
My problem is determining the time in seconds for that exact time. And I need to do it for one time zone and have everyone use it. So how can I find out the time in seconds for a given date for 9:30AM eastern time? And then know the current time in seconds for now but in the same time zone? I can use any time zone and adjust the time of 9:30 to match if that is easier. Can someone show me how to do this?
Thanks,
Warren