GlideSession - getTimeZoneName()

Gets the name of the session's time zone.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
String The name of the session's time zone.

Scoped equivalent

To use the getTimeZoneName() method in a scoped application, use the corresponding scoped method: Scoped GlideSession - getTimeZoneName().

var session = gs.getSession();
var zoneName = session.getTimeZoneName();
gs.info(zoneName);

Output:

US/Pacific