Scoped GlideSession - getTimeZoneName()

Returns 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.

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

Output:

US/Pacific