Function datetime::sys_timezone [] [src]

pub fn sys_timezone() -> Option<String>

Attempts to determine the system’s current time zone. There’s no guaranteed way to do this, so this function returns None if no timezone could be found.