CAST_TIME_TO_TIMESTAMP_TZ_UDF (TIME)
Definition
This user-defined function (UDF) casts time to timestamp_tz.
CAST_TIME_TO_TIMESTAMP_TZ_UDF(INPUT TIME)Parameters
INPUT TIME
The input time to be cast to timestamp_tz.
Returns
Returns a timestamp_tz with the date as 1900-01-01 and the same time as the input.
Usage example
Input:
SELECT PUBLIC.CAST_TIME_TO_TIMESTAMP_TZ_UDF('00:00:00.995')Output:
1900-01-01 00:00:00.997PreviousCAST_NUMERIC_TO_TIMESTAMP_TZ_UDF (NUMBER)NextCAST_TIMESTAMP_TZ_TO_NUMERIC_UDF (TIMESTAMP_TZ)
Last updated
