mysql日期时间函数html
select now(),sysdate(),current_timestamp(),current_date(),curdate(),current_time() from dual;mysql
--返回 daytime,daytime,daytime,day,day,timesql
date_sub(curdate(),interval 1 day) -- 减小一天ide
date_add(curdate(),interval -1 day) -- 减小一天函数
学习了:https://www.cnblogs.com/aprils/p/4519796.htmlpost
哈哈哈,闰月,哈哈哈;学习
date_add('2000-2-29',intervar 1 year) -- 增长一年.net
学习了:https://blog.csdn.net/xingxiupaioxue/article/details/45821639htm