pub fn nanos_since_epoch(datetime: &DateTime<Utc>) -> u64
Expand description

Gets the number of nanoseconds since unix epoch for a given datetime.

Arguments

  • datetime - The datetime to convert.