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

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.
Examples
create duration; 
set duration = dateTime1.difference(dateTime2);
  • No labels