Scoped GlideSchedule - setTimeZone(String timeZone)

Sets the timezone for the current schedule.

Table 1. Parameters
Name Type Description
timeZone String The timezone.
Table 2. Returns
Type Description
void

This example sets the timezone for the schedule to US/Pacific.

var schedule = new GlideSchedule();
schedule.setTimeZone('US/Pacific');

Output: