mysql 时间戳 与 日期类型的转换

来源:互联网 发布:apache是干什么用的 编辑:程序博客网 时间:2024/05/18 14:25
SELECT unix_timestamp(time) FROM testdatabase.user;
update testdatabase.user set time = from_unixtime(1447408792);
0 0