Date.AddDays
Date.AddDays(dateTime as any, numberOfDays as number) as any
Returns the date
, datetime
, or datetimezone
result from adding numberOfDays
days to the datetime
value dateTime
.
dateTime
: Thedate
,datetime
, ordatetimezone
value to which days are being added.numberOfDays
: The number of days to add.
Add 5 days to the date
, datetime
, or datetimezone
value representing the date 5/14/2011.
Usage
Date.AddDays(#date(2011, 5, 14), 5)
Output
#date(2011, 5, 19)