본문 바로가기

코딩/Javascript

getSeconds()

728x90

Return the seconds, according to local time:

 

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

'코딩 > Javascript' 카테고리의 다른 글