Function: sys.now

Returns Unix time, as a floating-point number.

The returned value has nanosecond precision.

It is not guaranteed to be monotonic.

Returns

Unix time, as a floating-point number of seconds elapsed since Epoch (00:00:00 UTC on 1 January 1970).

Examples

# Return Unix time as a floating-point number
# For example, returns `1715172805.2818468`
- returnStep:
    return: ${sys.now()}