-
-
Notifications
You must be signed in to change notification settings - Fork 35
Time Functions
wagyourtail edited this page Jul 22, 2020
·
4 revisions
the time functions are:
Example: time.time();
returns the current time in milliseconds since the epoch (JAN 1 1970), or whatever your OS gives java for the time in milliseconds.
Example:" time.sleep(1000);
literally sleeps the thread for an amount of milliseconds. Since every javascript script has its own thread, this shouldn't break anything.