Modify an input datetime.

Declaration

UPDATE_DATETIME(datetime, new_date, new_time) -> datetime
UPDATE_DATETIME(datetime, new_date, new_time, new_time_zone) -> datetime

Parameters

datetime (type: datetime)
Any datetime.
new_date (type: date)
The new date that gets updated in the datetime.
new_time (type: time)
The new time that gets updated in the datetime.
new_time_zone (type: string)
The new time zone that gets updated in the datetime.

Return Values

datetime (type: datetime)
The resulting datetime by taking the base and adding the update values.

Was this article helpful?

0 out of 0 found this helpful

Add comment

Please sign in to leave a comment.