Functionsยง
- convert_
from_ datetime_ utc_ to_ timestamp - It converts a
DateTime::<Utc>to a timestamp. For example, theDateTime::<Utc>of the Unix Epoch will be converted to a timestamp of 0:DurationSinceUnixEpoch::ZERO. - convert_
from_ iso_ 8601_ to_ timestamp - It converts a string in ISO 8601 format to a timestamp.
- convert_
from_ timestamp_ to_ datetime_ utc - It converts a timestamp to a
DateTime::<Utc>. For example, the timestamp of 0:DurationSinceUnixEpoch::ZEROwill be converted to theDateTime::<Utc>of the Unix Epoch.