Scoped GlideTime - getDisplayValueInternal()

Gets the display value in the current user's time zone and the internal format (HH:mm:ss).

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
String The time value for the GlideTime object in the current user's time zone and the internal time format of HH:mm:ss.
var gt = new GlideTime();
gt.setValue("01:00:00"); //Internal Time Zone , UTC
gs.info(gt.getDisplayValueInternal()); //User Time Zone

Output: