timezone()

This function returns the time zone of a given Date/Timestamp. If it has not changed before using the corresponding change timezone function, this will always be the server's time zone.

Parameters


Parameter

Description

a

Date.


Examples


Given is a server working with timezone Europe/Berlin.


Parameter a

Result

Date without changed time zone.

Europe/Berlin

Date with changed time zone to PST.

PST