Expand description
Wall-clock and digit-counting helpers.
The C reference exposes dn_msec_now, dn_usec_now,
current_timestamp_in_millis, and count_digits. This module
gathers them as plain functions over std::time::SystemTime.
Functionsยง
- count_
digits - Number of decimal digits in
arg, including a leading zero. - msec_
now - Milliseconds since the UNIX epoch.
- usec_
now - Microseconds since the UNIX epoch.