标签:bsp 判断 code java color nbsp rip parse 直接
var datenow = dt.getFullYear() + "-" + (dt.getMonth() + 1) + "-" + dt.getDate() + " 00:00:00"; var endTime = new Date(Date.parse(datenow)); var endTime = new Date(Date.parse(datenow)); var startTime = new Date(Date.parse(datenow));
startTime,endTime直接判断相等不行,可以通过下面两种方式判断
if (startTime.getTime() == endTime.getTime()) if (startTime- endTime==0)
标签:bsp 判断 code java color nbsp rip parse 直接
原文地址:https://www.cnblogs.com/zhaogaojian/p/13212867.html