数据库mysql查询当天的数据 云博小周宇2024年5月5日2023年8月25日1 Min Read mysql查询当天的数据 贴代码: #两个时间都使用to_days()函数 select * from reple where to_days(create_time) = to_days(NOW())