Quirrel4.41.0

datetime

Clock and calendar.

from "datetime" import ...

Functions

clockpure fastcall clock(): floatReturns CPU time used by the process in seconds
datedate([time: int, format: int]): tableReturns a table with date fields (sec,min,hour,day,month,year,wday,yday); format 'l' for local, 'u' for UTC
timefastcall time(): intReturns the current time as seconds since the Unix epoch