Time

Library for accessing the current time.

Available Functions


now()

Get the current time as a Unix timestamp in milliseconds (the number of milliseconds since January 1, 1970 UTC). This is equivalent to Date.now() in JavaScript.

Usage

core.time.now();

Arguments

None.

Returns

[number] the current time, in milliseconds since the Unix epoch

Last modified November 2, 2026: BAM-169 core-time (96f5738)