首页 > 数据库技术 > 详细

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

时间:2014-07-23 21:11:37      阅读:408      评论:0      收藏:0      [点我收藏+]
 
 
select reg_time, FROM_UNIXTIME(reg_time) from crm_user;

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

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

原文:http://virusswb.blog.51cto.com/115214/1527329

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!