花费 5 ms
JS 获取日期相差天数

var s1 = '2012-05-12'; s1 = new Date(s1.replace(/-/g, "/")); s2 = new Date(); var days = s2.getT ...

Tue May 15 18:34:00 CST 2012 0 33393

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM