会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
God丶魔多
博客园
首页
新随笔
联系
订阅
管理
2016年6月3日
mysql查询时间戳和日期的转换
摘要: mysql提供了两个函数: 如果要查询当天的订单的记录: [plain] select count(*) from b_order Where date_format(from_unixtime(create_time),'%Y-%m-%d') = date_format(now(),'%Y-%m-
阅读全文
posted @ 2016-06-03 13:26 God丶魔多
阅读(23330)
评论(0)
推荐(0)
编辑
公告