.setUTCSeconds()

Term side of the Card
Topic: Date
Unit title: .setUTCSeconds()
Categories: Method
Explanation side of the Card

Explanation: The method that sets the seconds for a specified date according to UTC (Universal Coordinated Time). The value must be between 0 and 59 and it also allows updating the minutes and milliseconds.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 1
Availability: