Day of Quarter

Returns an integer that represents the day of the quarter for a specific date. The first quarter of the year begins on January 1.

dateday_of_quarter
2015-01-21 15:30:0021
2015-01-21 00:00:0021
2015-01-31 10:00:3031
2015-02-03 15:30:0034
2016-01-21 23:59:5921
2015-10-31 23:59:5931
2015-12-03 00:00:0064
2016-01-11 03:30:0011
2016-01-11 03:30:0011