pub(crate) fn local_offset_at(datetime: OffsetDateTime) -> Option<UtcOffset>
Available on crate feature local-offset only.
Expand description

Attempt to obtain the system’s UTC offset. If the offset cannot be determined, None is returned.