Skip to main content

day_start_ms

Function day_start_ms 

Source
pub fn day_start_ms<Tz: TimeZone>(now_ms: i64, tz: &Tz) -> i64
Expand description

Local midnight at or before now_ms in tz, ms epoch. A zone whose midnight doesn’t exist that day (a daylight-saving gap at 00:00) starts its day at the first hour that does.