Time zones

All times are stored in Coordinated Universal Time (UTC). They are displayed globally based on the system time zone, but appear to users in their local time zone according to user preferences.

Time zone representation

Time zones that have the Country/City format are primary time zone IDs. Other time zone IDs are links to the primary time zone. For example, US/Pacific is a link to the America/Los_Angeles time zone. Both America/Los_Angeles and US/Pacific represent Pacific Standard Time with the same zone offset and Daylight Savings Time (DST) schedule.

Other than the representation, there is no impact on date and time functionality.

In the absence of a default time zone for the user or the system, JVM reads default time zone information from the machine. Depending on how the machine is configured, it might return the Country/City or link, for example, US/Pacific or America/Los_Angeles. Administrators should configure their system with a default time zone glide.sys.default.tz to avoid system dependencies. For more information, see Time zone representation.

Daylight Saving Time

In general, if a time zone is specified based on location (for example, America/Los Angeles), the system automatically adjusts for daylight saving time. If a time zone is specified based on the name of a time zone (for example, GMT), which is discouraged, it does not typically adjust for daylight saving time. There are however exceptions to these guidelines. For more detailed information on how daylight saving time is handled in Java, refer to these websites:

User preferences

Once the System Time Zone is defined, users can also select their own time zone from their user form, accessed through Self-Service > My Profile. The System default appears as System ([name of the default time zone]). For example, if the System time zone is America/Los_Angeles, the user sees System (America/Los Angeles).

Time zones in email notifications

The date and time stamp of a notification uses the system time zone and not the time zone of any recipient. The property glide.email.append.timezone in System Properties > Email controls whether to append the time zone. If true, the system time zone of the instance is appended to any dates or date/times in outbound email messages (for example, 2010-07-02 04:01:14 PST).

Time zones in service level agreements

Service level agreements have different options for which time zone to use. To set a time zone for SLAs, navigate to Service Level Management > SLA Properties and locate the following property:

Figure 1. Time zone for service level agreements
SLA time zone
Some special considerations:
  • If The caller's time zone is selected, unpredictable behavior can occur if the caller does not have a time zone defined.
  • If The SLA definition's time zone is selected, the time zone must be manually defined on the SLAs form.

Time zone in scripting

When scripting on the server, there are several GlideSystem date and time functions used to obtain time values. For more information about specific methods and to learn the format in which each returns the requested time, see the GlideSystem API.

Enhancements

DST enhancement requires that reports and queries observe daylight saving time rules. Changes affect trend charts, line charts, and filters using the "trend on" operation.

Time zone changer

The time zone changer is active by default. Users can change their time zone in the system settings (the gear on the top right of the banner).