method Date.epochDay
Days since 1970-01-01.
Example:
use std.time { Date }
fn main() io {
print("{Date.of(1970, 1, 2)!.epochDay()}")
}Output
1
pub(api) fn epochDay() -> i64Since. 1.0.0-beta
Returns
i64
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:1301