Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Latest commit

 

History

History
20 lines (17 loc) · 877 Bytes

Date.AddQuarters.md

File metadata and controls

20 lines (17 loc) · 877 Bytes

Date.AddQuarters

Adds the specified quarters to the date.

function (optional dateTime as nullable any, numberOfQuarters as number) as nullable any

Description

Returns the date, datetime, or datetimezone result from adding numberOfQuarters quarters to the datetime value dateTime.

  • dateTime: The date, datetime, or datetimezone value to which quarters are being added.
  • numberOfQuarters: The number of quarters to add.
  • Category

    Date

    Examples

    Add 1 quarter to the date, datetime, or datetimezone value representing the date 5/14/2011.

    Date.AddQuarters(#date(2011, 5, 14), 1)
    

    #date(2011, 8, 14)