← All docs

time()

Returns the current Unix timestamp.

time()

function time(): int

Returns the current Unix timestamp.

Parameters: none.

Returns: int

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how time is implemented in the compiler, see the internals page.