ltk

Function day_of_week

Source
pub fn day_of_week(year: i32, month: u8, day: u8) -> u8
Expand description

Day of the week for (year, month, day). 0 = Sunday, 1 = Monday, …, 6 = Saturday. Uses Zeller’s congruence; undefined for years before AD 1.