Skip to main content

local_time

Function local_time 

Source
pub fn local_time(session: &dyn Session, utc: i64) -> Result<(i64, i32)>
Expand description

The local time of the session for an instant in microseconds since 2000-01-01 UTC, and the offset east of UTC in seconds of the zone at that instant.

ยงErrors

The error of Session::zone, and 22008 when the local time is out of range.