Loading

MSTU

date time platform
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).

MSTU is available since version 1.0.0.

See also

Signatures

Examples

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