Scoped GlideDuration - getDurationValue()

Gets the duration value in "d HH:mm:ss" format.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
String The duration value.
var dur = new GlideDuration('3 12:00:00');
gs.info(dur.getDurationValue());

Output: