Water 5-Common Data Types-Date and Time
method datetime.plus
Add a duration to a datetime
Contract
Return typewob
Parameter keyDefault valueType
a_durationreq
Water Contract
<method datetime.plus
  a_duration=req/>

See also: duration, minus

Adds a_duration of type duration to the _subject of type datetime , giving a new datetime as the result.
Example: Adding two months to a datetime
<datetime 2006 08 16 0 0 0 0 />.<plus <duration months=2.0 /> />.<to_htm />
"Oct 16, 2006"