Date.AddQuarters
Syntax
Date.AddQuarters(dateTime as any, numberOfQuarters as number) as any
About
Returns the date
, datetime
, or datetimezone
result from adding numberOfQuarters
quarters to the datetime
value dateTime
.
dateTime
: Thedate
,datetime
, ordatetimezone
value to which quarters are being added.numberOfQuarters
: The number of quarters to add.
Example 1
Add 1 quarter to the date
, datetime
, or datetimezone
value representing the date 5/14/2011.
Usage
Date.AddQuarters(#date(2011, 5, 14), 1)
Output
#date(2011, 8, 14)