Loading

STU


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

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).

Signature

Examples

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