StaticnowReads the current time in epoch milliseconds.
Milliseconds since the epoch.
StaticnowReads the current time as an ISO 8601 string.
The timestamp, e.g. 2026-07-26T09:12:44.031Z.
StaticsinceMeasures how long has passed since a mark taken with Time.now.
The earlier mark, in epoch milliseconds.
Elapsed milliseconds, never negative.
Clock helpers used by the framework layer.
Remarks
One place that reads the clock, so timestamps agree across a request: the logger stamps every line, the middleware measures duration, and a service records when a row was written. Some runtimes freeze
Date.now()between I/O operations, so a duration measured across anawaitis wall-clock time around the I/O rather than CPU time.Example
Author
Bayu Dwiyan Satria
Version
1.0.0
Since
1.0.0