You are viewing content for 5.1 | 5.0 | 4.9 | 4.8 | 4.7 | 4.6 | 4.5 | 4.4 | 4.3 | Previous Releases


quarter

Returns the quarter corresponding to a timestamp or date expression.

Example

quarter(INCORTA.SALES.DATE_SOLD)

Syntax

quarter([date | timestamp] expr t)
  • t : expression of type date or timestamp

    Returns

    int representing the quarter number

Notes


© Incorta, Inc. All Rights Reserved.