klyn.Application.timeMs
method

    public static native timeMs() as Double

Description

Returns the current Unix time in milliseconds.

Use `Application.monotonicMs()` instead when measuring elapsed durations, because the wall clock can be adjusted by the operating system.

Returns

The current Unix timestamp expressed as milliseconds.

Example

    print("Unix time in ms =", Application.timeMs())