rollover() spits out the same number, regardless of the time of day for me. I tried it over a few minutes. Here's the output I get when I use the rollover() function.
Originally Posted by Crowther
Which spits this out:
print(rollover() + " milliseconds to rollover");
print(rollover() / 6000 + " seconds to rollover");
print(rollover() / 60000 + " minutes to rollover");
print(rollover() / 3600000 + " hours to rollover");
print(time_to_string() + " My local time");
1549164601 milliseconds to rollover
258194 seconds to rollover
25819 minutes to rollover
430 hours to rollover
12:12:35 EST My local time
I'm sure I can figure out a way to use time_to_string() and the actual time of rollover to do what I need.