Your Airkit journey starts here

UPDATE_MILLISECOND

Modify a datetime or time to a new millisecond.

Declaration

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

Parameters

datetime
datetime -Any datetime.
new_millisecond
number -The new millisecond that gets updated in the datetime.
time
time -Any time.

Return Values

datetime
datetime -The resulting datetime by taking the base and adding the update values.
time
time -The resulting time by taking the base and adding the update values.