Page tree
Skip to end of metadata
Go to start of metadata
set aDuration = dateTime1.difference(dateTime2)

difference() calculates the difference between two DateTime objects. The result is an object of type DurationStructure.

Symbolically: duration = dateTime1 - dateTime2

SubstitutablesdateTime Can be any variable or object attribute having the type DateTime
duration The resulting Base Components::Basic Behavior::DateTime::DurationStructure object.
create duration; 
set duration = dateTime1.difference(dateTime2);
  • No labels