Add date range query for quarter period