Run ❯
Get your
own
website
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
JavaScript getSeconds()
The getSeconds() method returns the seconds of a date as a number (0-59):