mysql时间转化 菜鸟寻出路 2021-03-30 172 阅读1分钟 -- 时间'2019-01-22 15:45:06' 转换成 unix 时间戳 select UNIX_TIMESTAMP(time) from testsssssss; -- unix 时间戳 转换成 '2019-01-22 15:45:06' select FROM_UNIXTIME(timelong) from testsssssss;