javascript獲取本周、本月、本季度、本年時間
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.本季度 ...