ID EN
Time

time_ns

Python 3.11

Similar to time() but returns time as an integer number of nanoseconds since the epoch.

Syntax

PYTHON
time.time_ns() → int

See Also

time() epoch