Expand description
Get the system’s UTC offset on Unix.
Functions§
- local_
offset_ 🔒at - Obtain the system’s UTC offset.
- timestamp_
to_ 🔒tm - Convert the given Unix timestamp to a
libc::tm
. ReturnsNone
on any error. - tm_
to_ 🔒offset - Convert a
libc::tm
to aUtcOffset
. ReturnsNone
on any error.