코딩/Javascript

getSeconds()

코딩쪼렙 2021. 7. 25. 11:12
728x90

Return the seconds, according to local time:

 

var d = new Date();
var n = d.getSeconds();