method ZonedTime.local
Wall clock in the zone.
Example:
use std.time { Time }
fn main() io {
print("{Time.ofUnixSeconds(0).in(tz"Asia/Tokyo").local().toIso()}")
}Output
1970-01-01T09:00:00
pub(api) fn local() -> LdtSince. 1.0.0-beta
Returns
Ldt
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:2217