method Date.setUTCSeconds
Private
Date.setUTCSeconds(
sec: number,
ms?: number,
): number

Sets the seconds value in the Date object using Universal Coordinated Time (UTC).

Parameters

sec: number

A numeric value equal to the seconds value.

optional
ms: number

A numeric value equal to the milliseconds value.

Return Type

number