method Tm.in
The same instant in a zone.
Example:
use std.time { Time, Tz }
fn main() io {
let z = Time.ofUnixSeconds(0).in(Tz.of("Europe/Moscow")!)
print("{z.offset().hours()}")
}Output
3
pub(api) fn in (tz: Tz) -> ZonedTimeSince. 1.0.0-beta
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:1931