1.获取系统时间
select sysdate from dual
select to_char(systimestamp,'yyyy-MM-dd hh24:mi:ss.ff3') from dual --显示毫秒
2.系统时间+1天/+1小时/+1分钟/+1秒/+1毫秒
select sysdate+1 from dual --当前时间+1天
select sysdate+1/24 from dual -- 当前时间+1小时
select sysdate+1/24/60 from dual -- 当前时间+1分钟
select sysdate+1/24/60/60 from dual -- 当前时间+1秒
3.系统时间添加月数
select add_months(sysdate,1) from dual --添加一个月