Table of contents
TOC
Collapse the table of content
Expand the table of content

Date.AddQuarters

Owen Duncan|Last Updated: 10/5/2018
|
1 Contributor

About

Returns a Date/DateTime/DateTimeZone value incremented by the number of quarters provided. Each quarter is defined as a duration of three months. It also handles incrementing the year potion of the value as appropriate.

Date.AddQuarters(dateTime, quarters as number)  

Arguments

ArgumentDescription
dateTimeThe DateTime to add quarters to.
quartersThe number of quarters to add.

Examples

Date.AddQuarters(DateTime.FromText("2011-02-19"), 1) equals 2011-05-19  
Date.AddQuarters(DateTime.FromText("2011-11-30"), 1) equals 2012-02-29  
© 2018 Microsoft