摘要: 1 1.将时间(2017-08-10)转换时间戳 2 var startTime = '2017-08-10'; 3 var startdate = new Date(Date.parse(startTime.replace(/-/g, "/"))); 4 startdate = startdate.getTime() / 1000; 5 alert(startdate) 6 7... 阅读全文
posted @ 2017-08-21 15:14 py卡卡 阅读(275) 评论(0) 推荐(0) 编辑