Split data into month, quarter, year