Skip to content

getSeconds

Returns the seconds in the specified date, in the offset stored with the value.

1
myDateTimeOffset.getSeconds():number

Returns

An integer representing the seconds (0-59).

See Also

  • https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Date/getSeconds