jsp页面端获取时间日期,以及日期比较大小
在js中获取当前日期:function CurentTime() { var now = new Date(); var year = now.getFullYear(); //年 var month = now.getMonth() + 1; //