Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Syntax
Date.AddWeeks(dateTime as any, numberOfWeeks as number) as any
About
Returns the date, datetime, or datetimezone result from adding numberOfWeeks weeks to the datetime value dateTime.
dateTime: Thedate,datetime, ordatetimezonevalue to which weeks are being added.numberOfWeeks: The number of weeks to add.
Example 1
Add 2 weeks to the date, datetime, or datetimezone value representing the date 5/14/2011.
Usage
Date.AddWeeks(#date(2011, 5, 14), 2)
Output
#date(2011, 5, 28)