addMilliseconds
Adds a number of milliseconds to a TheDate.
Interactive example
Syntax
Classic signature
typescript
function addMilliseconds<
GenericInput extends TheDate | SerializedTheDate,
GenericMillisecond extends number
>(
input: GenericInput,
millisecond: GenericMillisecond
): TheDateCurried signature
typescript
function addMilliseconds<GenericInput extends TheDate | SerializedTheDate, GenericMillisecond extends number>(
millisecond: GenericMillisecond
): (input: GenericInput) => TheDateParameters
millisecond: Number of milliseconds.input:TheDateorSerializedTheDate.
Return value
A TheDate moved forward by the requested number of milliseconds.
