nitrogen

An interpreted programming language written in Go.


Project maintained by nitrogen-lang Hosted on GitHub Pages — Theme by mattgraham

time.ni

The time modules provide access to system time.

To use: import 'std/time'

now(): int

now returns the current Unix epoch time in seconds.

now_ms(): int

now_ms returns the current Unix epoch time in milliseconds.

now_ns(): int

now_ns returns the current Unix epoch time in nanoseconds.