Loading

STU

date time platform
Configuration parameters

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

STU is available since version 1.0.0.

See also

Signatures

Examples

STU // Get the time unit configuration of the platform NOW STU / // Get the UNIX timestamp