# time > Package time. ```slang import "time"; let t0 = time.mono(); // monotonic clock; a `duration` (int64 ns) time.sleep(20000000); // sleep for a duration (ns) let elapsed = time.mono() - t0; // duration arithmetic let deadline = time.mono() + 5000000; // timeout math for net calls let wall = time.wall(); // unix epoch time in nanoseconds ``` ## API ### `time.mono() -> duration` ### `time.wall() -> int` ### `time.sleep(int)` --- slang is built and maintained by **Dolphlabs** (Dolph Tech Limited) — https://dolphlabs.com