Jquery/JEasyUI How do I get the current date?
This question already has an answer here:
您可以使用此代码查找两个日期之间的天数。
var d1=new Date(2014,06,15);
var d2=new Date(2014,06,10);
var timeInSec=d1-d2;
var days=timeInSec/(1000*60*60*24);
链接地址: http://www.djcxy.com/p/77530.html