Difference between revisions of "Rollover"
Jump to navigation
Jump to search
(added missing rollover function to wiki) |
(No difference)
|
Latest revision as of 05:49, 31 January 2023
Function Syntax
int rollover()
Returns the unix epoch time of the next rollover.
Code Sample
The following tells you how long until rollover.
if (rollover() - now_to_int() > 0) {
print("There are " + (rollover() - now_to_int()) + " seconds until rollover.");
} else {
print("Rollover is now.");
}