Skip to main content

tz_offset_seconds

Function tz_offset_seconds 

Source
pub fn tz_offset_seconds(tz: &str, utc_nanos: i64) -> Result<i32, TimeZoneError>
Expand description

The UTC offset, in seconds east of UTC, that tz has at the UTC instant utc_nanos - what a tz-aware timestamp adds to its instant to show its wall clock.