Skip to main content

start_of_month

Function start_of_month 

Source
pub fn start_of_month<T: TimeZone>(t: &DateTime<T>) -> DateTime<Tz>
Available on crate feature timex only.
Expand description

t 所在自然月的起点 (业务时区 1 号 00:00:00)