倒計(jì)時(shí)絢麗圖設(shè)計(jì)
const endTime = new Date("2017/1/27,18:47:52");
var hours = parseInt( curShowTimeSeconds / 3600);?
? var minutes = parseInt( (curShowTimeSeconds - hours * 3600)/60 )
?
?var seconds = curShowTimeSeconds % 60 為什么頁面顯示為00:00:00,求解
2017-02-28
new Date("2017/1/27,18:47:52"); 去掉引號試試 加了引號變字符串了