if(ztysgl.substring(11,16)<"24:59" &&ztysgl.substring(11,16)>"23:59"){
console.log("不在时间范围")
}else{
console.log("在时间范围")
}
//我的QQ是1479756648,求指教
//这个判断也有问题,转成Date相减又是毫秒值,怎么办
现在获取到了一个时间,12:00,我要怎么判断是什么时辰呀
试过var date = new Date(),然后date.setMinute()等,设置好时间,再相减判断,但是判断那里,好像是毫秒值,