Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WDESIGNER and version 24.0
Syntax
Code Block
languagenone
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
Code Block
languagenone
create duration; 
set duration = dateTime1.difference(dateTime2);
rp
Panel
titleRelated Pages: