method Date.atStartOfDay
Midnight of this date.
Example:
fn main() io {
print("{2026-11-03.atStartOfDay().toIso()}")
}Output
2026-11-03T00:00:00
pub(api) fn atStartOfDay() -> LdtSince. 1.0.0-beta
Returns
Ldt
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:1484