Modify a datetime or time to a new millisecond.

Declaration

UPDATE_MILLISECOND(datetime, new_millisecond) -> datetime
UPDATE_MILLISECOND(time, new_millisecond) -> time

Parameters

datetime (type: datetime)
Any datetime.
new_millisecond (type: number)
The new millisecond that gets updated in the datetime.
time (type: time)
Any time.

Return Values

datetime (type: datetime)
The resulting datetime by taking the base and adding the update values.
time (type: time)
The resulting time 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.