最长时间()|的PHP [英] Maximum time() | PHP

查看:73
本文介绍了最长时间()|的PHP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个愚蠢的问题,但是time()的最大INT值是多少,它是将来的日期,例如

It's kind of a silly question, but what would be the maximum INT value of a time() and it's future date, e.g.

2999年1月1日

1st January 2999

time()会达到那个值吗?输入较大的time()值将返回以下内容:

Would time() ever get to that value? Going for a large time() value would return this:

1970年1月1日星期四1:00 AM

Thu 1st Jan 1970 1:00AM

正常的int日期

1287320788-输出今天的日期:2010年10月17日,星期日,下午2:06

1287320788 - outputs today's date: Sun 17th Oct 2010 2:06PM

但是我只是想知道最大的int日期和最后一个日期.

But I'm only curious for the biggest int date and the last date.

推荐答案

最后的32位整数时间戳将在2038年1月19日到达.这称为

The last 32-Bit Integer timestamp will be reached January 19, 2038. This is known as the Year 2038 problem.

这篇关于最长时间()|的PHP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆