Date.AddMonths

This function calculates the date, time, or timezone result obtained by adding a specified number of months to a given datetime value. It takes two parameters as input: dateTime, which is the original...

Syntax

Date.AddMonths(dateTime as any, numberOfMonths as number) as any

About

This function calculates the date, time, or timezone result obtained by adding a specified number of months to a given datetime value. It takes two parameters as input: dateTime, which is the original date, time, or timezone value, and numberOfMonths, which indicates the number of months to add to the original value.