Wilang Documentation1.0.0+4

now#

The current instant as epoch milliseconds.

Available in: math cells, REPL.

Syntax#

now()

Arguments and behavior#

The current instant, in epoch milliseconds. The value changes on every call, so it is not pinned to a fixed result. Combine it with toEpoch or formatTime to read the clock in another timezone.

Example#

The result depends on the current time, so it cannot be pinned to a fixed value.

Open REPL, enter now(), then submit. The result is the current instant in epoch milliseconds.

See also#

parseDateTime · toEpoch · formatDateTime · formatTime

All functions · Math guides