Your Airkit journey starts here

UPDATE_MONTH

Modify a datetime or date to a new month.

Declaration

UPDATE_MONTH(datetime, new_month) -> datetime
UPDATE_MONTH(date, new_month) -> date

Parameters

datetime
datetime -Any datetime.
new_month
number -The new month that gets updated in the datetime.
date
date -Any date.

Return Values

datetime
datetime -The resulting datetime by taking the base and adding the update values.
date
date -The resulting date by taking the base and adding the update values.