main.js
1
2
3
4
5
6
7
const myDate = new Date(1451001600000)

console.log('myDate = ',myDate )

console.log(typeof(myDate))

console.log(new Date('2015-12-25').getTime())
Native Browser JavaScript