quarter

Returns the number of the quarter of the year for a given date.

Syntax

'quarter' ( <datetime> )

Parameters

Returns

Integer

Example

'quarter' ( connection : \'DB'::'TBC.tbc.SALES'.'TRANSDATE' )