xen::datetime
Provides utilities for date and time.
include datetime;
Public Functions
now
now () -> number
Return the current milliseconds elapsed since the UNIX epoch.
clock
clock () -> number
Return the current CPU clock time.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
Provides utilities for date and time.
include datetime;
now () -> number
Return the current milliseconds elapsed since the UNIX epoch.
clock () -> number
Return the current CPU clock time.