Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
MySQL 几点钟了:1343821692?
1343821692
我使用的很少有应用程序以这种格式存储它。
我也有这样的时间存储:2012-08-01 13:41:1-如何将这两种时间类型相互转换?
2012-08-01 13:41:1
这是一个 Unix 时间戳:
select FROM_UNIXTIME(1343821692) SELECT UNIX_TIMESTAMP('2012-08-01 13:41:1');
参见from_unixtime和unix_timestamp