Modify a datetime or date to a new month.
Declaration
UPDATE_MONTH(datetime, new_month) -> datetime
UPDATE_MONTH(date, new_month) -> date
Parameters
- datetime (type: datetime)
- Any datetime.
- new_month (type: number)
- The new month that gets updated in the datetime.
- date (type: date)
- Any date.
Return Values
- datetime (type: datetime)
- The resulting datetime by taking the base and adding the update values.
- date (type: date)
- The resulting date by taking the base and adding the update values.
0
0
Was this article helpful?
0 out of 0 found this helpful
Add comment
Please sign in to leave a comment.