iana_time_zone

Function get_timezone

Source
pub fn get_timezone() -> Result<String, GetTimezoneError>
Expand description

Get the current IANA time zone as a string.

See the module-level documentation for a usage example and more details about this function.