method ZonedTime.date
The date on the wall clock of the zone.
Example:
use std.time { Time }
fn main() io {
print("{Time.ofUnixSeconds(0).in(tz"Pacific/Auckland").date().toIso()}")
}Output
1970-01-01
pub(api) fn date() -> DateSince. 1.0.0-beta
Returns
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:2231