带时分秒 转换成日期类型to_date('20120801 00:00:00','yyyymmdd HH24:Mi:SS')
六种日期函数:
1. add_months(日期,number) 指定日期推迟number个月
2. last_day(日期) 指定日期当月的最后一天
3. new_time(日期,时区简写) 调整时区
4. next_day(日期,number) number表示周几,星期日是1,指定number的日期(一周内或一周后)
5. months_between(日期1,日期2) 日期1和日期2之间有几个月
6. sysdate 系统当期那日期和时间

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-11
  • 2022-12-23
  • 2022-12-23
  • 2021-06-03
  • 2022-01-09
  • 2022-01-10
猜你喜欢
  • 2022-12-23
  • 2021-11-18
  • 2022-02-04
  • 2021-07-18
  • 2022-12-23
  • 2021-09-02
  • 2022-12-23
相关资源
相似解决方案