js获取本周,本月,本季度,本年起止时间,直接上代码 ...
dateRangUtil.js 日期范围工具类 var dateRangeUtil function 获得当前时间 this.getCurrentDate function return new Date 获得本周起止时间 this.getCurrentWeek function 起止日期数组 var startStop new Array 获取当前时间 var currentDate this ...
2020-03-31 19:39 0 2489 推荐指数:
js获取本周,本月,本季度,本年起止时间,直接上代码 ...
(); }; /*** * 获得本周起止时间 */ this. ...
1.今天 2.昨天 3.本周 4.上周 5.近7天 6.近30天 7.本月 8.上月 9.近6个月 10.本季度 11.上季度 ...
10.本季度 11.上季度 12.本年 ...
当天数据:select * from tableName where datediff(day, 字段名,getdate())=0 本周数据:select * from tableName where datediff(week, 字段名,getdate())=0 本月:select ...
1.今天 2.昨天 3.本周 4.上周 5.近7天 6.近30天 7.本月 8.上月 9.近6个月 10.本季度 ...