mysql中将int的时间转换成datetime的时间

时间:2014-07-23 21:11:37   收藏:0   阅读:172
 
 
select reg_time, FROM_UNIXTIME(reg_time) from crm_user;

本文出自 “突破中的IT结构师” 博客,请务必保留此出处http://virusswb.blog.51cto.com/115214/1527329

评论(0)
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!