DurationCalculator - getEndDateTime( )

Gets the endDateTime property that was set by calcDuration/calcRelativeDuration, indicating the end date and time for the duration.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
TypeDescription
GlideDateTimeThe end datetime.
var dc = new DurationCalculator();
dc.calcDuration(52);
gs.print(dc.getEndDateTime());

2012-04-17 20:57:27