method Tm.date
Calendar date in UTC.
Example:
use std.time { Time }
fn main() io {
print(Time.ofUnixSeconds(86400).date().toIso())
}Output
1970-01-02
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:1945