|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-11-06 07:24 UTC] mfladischer at abis dot co dot at
mktime() returns -3662 for years earlier than 1970. no matter which year (tried with 1967,1956,1945,...). bug or system-limitation? PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 01:00:01 2025 UTC |
$ php -r 'echo date("d.m.Y", mktime(0,0,0,12,14,1901));' 14.12.1901 (using RH 6.2., glibc 2.1.3) "Dec 14th 1901" is the last date that works, earlier will always output 01.01.1970 :)