Scoped GlideTime - setValue(String o)

Sets the time of the GlideTime object in the internal time zone.

Table 1. Parameters
Name Type Description
o String The time in hh:mm:ss format.
Table 2. Returns
Type Description
void
var gt = new GlideTime();
gt.setValue('01:00:00');  //Internal Time Zone, UTC
gs.info("time is "+ gt.getByFormat('hh:mm:ss'));

Output: