1.日期比较 --1.在确定时间之前: select * from up_date where update < to_date('2018-06-05 00:00:00','yyyy-mm-dd hh24:mi:ss') select * from up_date where update <= to_date('2018-06-05 00:00:00','yyyy-mm-dd hh24:mi:ss') --2.在确定时间之后: select * from up_date where upd…
1.最基本的日期操作 var mydate = new Date(); set/get FullYear,Month,Date,Hour,Minutes,Second可以随意拼接 toLocaleDateString,toLocaleTimeString,toLocaleString可以获取时间字符串 2.前1天,后1天.. function getNextDay(currentDate, scaleStep) { var nextDate = new Date(currentDate);…