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.