1.返回当前日期及时间,日期,时间
now(),curdate(),curtime()
select now(),curdate(),curtime();
2.返回时间中的日/周/月/年
day(),week(),month(),year()
select day(now()
1.返回当前日期及时间,日期,时间
now(),curdate(),curtime()
select now(),curdate(),curtime();
2.返回时间中的日/周/月/年
day(),week(),month(),year()
select day(now()