devlog_zz

timestamp 0시 0분 0초 구하기 본문

Front End/Javascript

timestamp 0시 0분 0초 구하기

YJ_SW 2022. 5. 23. 10:08
728x90

오늘 날짜의 0시 0분 0초 timestamp 구하기

let today = new Date()
let timestamp = new Date(today.getFullYear(),today.getMonth(),today.getDate())/1000
728x90
Comments