Quick question,
How do I get the seconds between the current time and the end of the UTC day?
for example if the time is 12:00 in the afternoon, how do I get it to return 32,000
Quick question,
How do I get the seconds between the current time and the end of the UTC day?
for example if the time is 12:00 in the afternoon, how do I get it to return 32,000
Maybe modulus by 86.400? Then 86.400 (seconds in a day) subtract by that value?
print(86400 - (os.time() % 86400)) --> 28.652 seconds between now and 12am UTC