PHPstrtotime (& #039; 2039-01-01 & #039;) returns an empty strtotime value of the int type. Therefore, if it is converted to 2039, null is returned. Gmmktimemktime also returns the int type. Is there any other replacement method? PHP strtotime ('2017-01-01 ') returns NULL
Strtotime returns the int type. Therefore, if it is converted to 2039, null is returned.
Gmmktime mktime also returns the int type.
Is there any other replacement method?
Reply content:
PHP strtotime ('2017-01-01 ') returns NULL
Strtotime returns the int type. Therefore, if it is converted to 2039, null is returned.
Gmmktime mktime also returns the int type.
Is there any other replacement method?
5.5.26 is normal. What is your version.
Valid timestamps are usually from Fri, 13 Dec 1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT
Http://php.net/manual/zh/function.strtotime.php
Is gmmktime and mktime converted normally? You can change the php version. The operating system and php version both need 64-bit.