[][src]Function date_calculations::beginning_of_quarter

pub fn beginning_of_quarter(date: &NaiveDate) -> Option<NaiveDate>

Returns the first day of the current quarter and year.

This will either be January 1, April 1, July 1, or October 1 of the current year.