Scoped GlideDuration - getDisplayValue()

Gets the display value of the duration in number of days, hours, and minutes.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
String The number of days, hours, and minutes.
var dur = new GlideDuration('3 12:00:00');
gs.info(dur.getDisplayValue());

Output: