pub fn try_datetime_to_unix_nanos(value: Timestamp) -> Result<UnixNanos>Expand description
Converts a Timestamp to UnixNanos.
Unlike UnixNanos::from(Timestamp) which panics, this returns an error.
ยงErrors
Returns an error if the timestamp is before the UNIX epoch or out of range for UnixNanos.