QUARTER

Syntax

QUARTER(<date>)

Description

Returns the quarter of the year for the supplied date in a range from 1 to 4.

Defined Quarters
QuarterMonths
1January, February, March
2April, May, June
3July, August, September
4October, November, December

Examples

DateQUARTER Returns
Jan 06, 2018 12:23:051
Apr 06, 2018 12:23:052
Jul 06, 2018 12:23:053
Oct 06, 2018 12:23:054