GET_CURRENT_TIMEZONE_UDF

Definition

This user-defined function (UDF) gets the current session or system timezone as a literal.

GET_CURRENT_TIMEZONE_UDF()

Parameters

No parameters.

Returns

Returns a literal value with the current session or system timezone as a literal.

Usage example

Input:

SELECT PUBLIC.GET_CURRENT_TIMEZONE_UDF();

Output:

'Europe/London'

Last updated