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.