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.
可能重复: PHP 和 mySQL:2038 年错误:它是什么?如何解决?
在 PHP 中将时间戳(2038 年或以上)转换为日期时遇到问题,它总是显示 1901 年而不是 2038 年或以上。但是当转换年份 < 2038 的时间戳时一切正常。请帮我解决这个问题。非常感谢你!
这是因为 INT 数据类型在 32 位机器上的限制
解决方案