YEAR
Returns the year from a timestamp value.
Syntax
Arguments
Returns
bigint
Examples
Transformation job example
SQL
Query result
Last updated
Name | Type | Description | Default Value |
---|---|---|---|
timestamp | Output |
---|---|
timestamp | Output |
---|---|
timestamp
timestamp
timestamp '2018-03-10 08:55:12.456'
2018
timestamp '2018-03-10 08:55:12.456'
2018