CENTURY_UDF
Definition
Determines to which century a date belongs.
PUBLIC.CENTURY_UDF(INPUT TIMESTAMP_TZ)Parameters
INPUT TIMESTAMP_TZ
The date to calculate the century.
Returns
Returns a varchar with the century from which a date comes.
Usage example
Input:
SELECT PUBLIC.CENTURY_UDF(DATE '1915-02-23');Output:
'20'Last updated
