Scoped GlideDuration - getDayPart()

Gets the number of days.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
Number The number of days.
var dur = new GlideDuration('3 12:00:00');
gs.info(dur.getDayPart());

Output: