Skip to main content

first_of_month

Function first_of_month 

Source
pub fn first_of_month(year: i32, month: u32) -> NaiveDate
Expand description

The first day of month (1-based) in year; months outside 1..=12 carry into adjacent years.