5. mysql 时间处理

来源:互联网 发布:js性能测试工具 编辑:程序博客网 时间:2024/05/16 00:30

先记录下来,过段时间整理

select * from note where strcmp(date_format(time, '%Y-%m '), '2007-05 ') = 0; 获得任意格式


//有很多详细说明

http://blog.sina.com.cn/s/blog_5c7a517801011l8v.html  

0 0
原创粉丝点击