Skip to main content


The method sets the time zone for the current client.


The method accepts one argument — a string designating the time zone:

The string designating the time zone must conform to the Java specification.

How to use

Information about the client time zone is used in the following cases:

  • Date and time entity recognition, particularly the Duckling system entities.
  • Scheduling events from the script by means of the $pushgate.createEvent method.
If the time zone for the client is not set, the time zone on the Classifier tab in project settings is used by default.