Crate time_helper

Source
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.