DateTimeAdd Function - microsoft/MIMWAL GitHub Wiki
Syntax
DateTime? DateTimeAdd(date:datetime, timespan:string) / DateTime? DateTimeAdd(date:datetime, timespan:timespan)
Description
Adds (or Subtracts) a timespan to/from the supplied date/time.
Remarks
If the second input parameter (timespan) is null, an exception is thrown. If the first input parameter (date) is null, a null value is returned.
Supported Version
1.0.0.0 and later
Examples
DateTimeAdd(DateTimeNow(),"365.00:00:00.0")