// 判断集合时间
var date=new Date($("input[name=‘mettingTime‘]").val());
var now=new Date();
now=new Date(now.getFullYear() + "-" + (now.getMonth() + 1) + "-" + now.getDate());
if(date>now){
console.log("集合时间");
}else{
alert("集合时间不正确,请重新填写");
}
时间: 2024-09-26 16:33:51