Expand description
Provides common functionality for handling timestamps.
Functions§
- format
- Produces a formatted
String
from a timestamp, displayed as local time. - format_
unix_ timestamp - Takes a unix timestamp and returns a formatted
String
. - from_
unix_ timestamp - Creates a new time from a unix timestamp, at UTC.
- now_utc
- Retrieves the current timestamp, at UTC.