Modify a datetime or date to a new day.
Declaration
UPDATE_DAY(datetime, new_day) -> datetime
UPDATE_DAY(date, new_day) -> date
Parameters
- datetime (type: datetime)
- Any datetime.
- new_day (type: number)
- The new day 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.