mz_ore
0.1.0
Module now
Structs
Statics
Functions
Type Aliases
In crate mz_
ore
Module
mz_ore
::
now
Copy item path
source
·
[
−
]
Expand description
Now utilities.
Structs
§
NowFn
A function that returns system or mocked time.
Statics
§
NOW_
ZERO
A
NowFn
that always returns zero.
SYSTE
M_
TIME
A
NowFn
that returns the actual system time.
Functions
§
now_
zero
🔒
system_
time
🔒
to_
datetime
Converts epoch milliseconds to a DateTime.
Type Aliases
§
Epoch
Millis
A type representing the number of milliseconds since the Unix epoch.