Date
Method
Description
new Date()
įžå¨æé
new Date(); // Tue Jun 04 2024 10:52:23 GMT+0800 (Taipei Standard Time)
new Date("2014-02-01");
new Date().getTime()
čŊææ¸åīŧåž 1970 éå§įŽ
new Date("1970-01-01").getTime() // 0
new Date("1970-01-02").getTime() // 86400000
24 hour * 60 min *60 sec * 1000 ms = 86400000
Last updated