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