Your Airkit journey starts here

UPDATE_DAY

Modify a datetime or date to a new day.

Declaration

UPDATE_DAY(datetime, new_day) -> datetime
UPDATE_DAY(date, new_day) -> date

Parameters

datetime
datetime -Any datetime.
new_day
number -The new day 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.