1.获取当前时间 select from _unixtime(unix_timetamp(),'yyyy-MM-dd HH:mm:ss')
2.select current_timestamp; 当前时间
3.select CURRENT_DATE
4.SELECT DATEDIFF('2015-0409','2015-04-01') 返回日期差
5.返回当月1号 select concat (from_unixtime(unix_timetamp(),'yyyy-MM'),'-01')