摘要: 曾经我写了很多逻辑来比较俩个时间的大小。总结下简单的方法。 JS 比较两个时间的大小 if(Date.parse($fromtime.replace(/\-/g,"/"))>Date.parse($endtime.replace(/\-/g,"/"))){tipslog('活动结束时间不能... 阅读全文
posted @ 2014-08-14 09:46 鱼尾纹 阅读(225) 评论(0) 推荐(0) 编辑