JavaScript
javascrip timestamp 얻기
아이티제어1998
2022. 5. 6. 19:51
현재시간의 UNIX_TIMESTAMP 을 얻는법은
var ts = new Date().getTime(); // 밀리초 단위.
timestampSecond = Math.floor( new Date() / 1000); // 초단위