Loading

MSTU


date time platform
Since v1.0.0
Available on all platforms
See also

Configuration parameters


The MSTU function pushes onto the stack the number of platform time units in one millisecond. This allows WarpScript scripts to be compatible with any platform, regardless of their configured time units (millisecond, microsecond or nanosecond).

Signature

Examples

MSTU // Get the time unit configuration of the platform NOW MSTU / // Get the UNIX timestamp in milliseconds