The timeZone function returns the current timezone, i.e. the difference between local time and UTC time. The resulting type is time.
No parameters are required in this formula.
The following example uses the HR-employee-attrition dataset.
In this example, we want to add a new column containing the timezone this dataset has been modified.
We add a new attribute, called timezone, and type the following formula:
and the attribute is filled with the difference between local and UTC time, that is UTC +2.