QUARTER
Returns the quarter of the year from a timestamp. Values range from 1 to 4.
Syntax
Arguments
Name | Type | Description | Default Value |
---|---|---|---|
timestamp | timestamp |
Returns
bigint
Examples
timestamp | Output |
---|---|
timestamp '2018-03-10 08:55:12.456' | 1 |
Transformation job example
SQL
Query result
timestamp | Output |
---|---|
timestamp '2018-03-10 08:55:12.456' | 1 |
Last updated