摘要: Mysql 时间操作(当天,昨天,7天,30天,半年,全年,季度) 1 、 查看当天日期 select current_date(); 2、 查看当天时间 select current_time(); 3、查看当天时间日期 select current_timestamp(); 4、查询当天记录 select * from 表名 where to_days(时... 阅读全文
posted @ 2016-11-17 10:03 天涯alone 阅读(211) 评论(0) 推荐(0) 编辑