Date.AddDays
Syntax
Date.AddDays(dateTime as any, numberOfDays as number) as any
About
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.
Example 1
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)
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for