Skip to content

timeNs

timeNs(): bigint

Defined in: packages/pythonlib/src/time.ts:64

Return the time in nanoseconds since the epoch as a BigInt.

Returns

bigint

Nanoseconds since Unix epoch

Example

console.log(timeNs()) // 1704067200123456789n