Expand description
Module: cdk::utils::time
Responsibility: timestamp helpers that work under host and IC execution. Does not own: timer scheduling, lifecycle hooks, or clock policy. Boundary: exposes UNIX epoch timestamps at common precisions.
Functions§
- now_
micros - Returns the current UNIX epoch time in microseconds.
- now_
millis - Returns the current UNIX epoch time in milliseconds.
- now_
nanos - Returns the current UNIX epoch time in nanoseconds.
- now_
secs - Returns the current UNIX epoch time in seconds.