有时候我们需要对Mysql数据库取出的时间进行格式化, 一种是程序处理,还有一种就是使用mysql自己的日期处理函数。 DATE_FORMAT(date,format) 根据format字符串格式化date值。
查看更多...
Tags: mysqlmysql 格式化格式化 时间时间
日志: 380 篇 评论: 28 个 留言: 0个 会员: 924746 人 访问: 15406005 次 在线: 7 人 建站时间: 2009-05-01
Powered By PJBlog3 v3.1.6.227 CopyRight 2005 - 2008, 风一样的男孩's Blog xhtml | css
Processed in 0.125000 second(s) , 3 queries , 蓝色动力网络 Design By GorTon 粤ICP备11055755号-1