Returns the number of the quarter of the year for a given date.
Syntax
'quarter' ( <datetime> )
Parameters
<datetime> is a datetime operand.
Returns
Integer
Example
'quarter' ( connection : \'DB'::'TBC.tbc.SALES'.'TRANSDATE' )