note 19117 added to ref.datetime

From: Date: Sat, 16 Feb 2002 05:50:45 +0000
Subject: note 19117 added to ref.datetime
Groups: php.notes 
Request: Send a blank email to php-notes+get-26692@lists.php.net to get a copy of this message
When I use the function: date ("F d, Y", $row["dateposted"]); where $row["dateposted"] has a value of 20020214003000, I get this result: January 19, 2038 Instead, to test if I was getting a wrong input into date, I directly used: date("F d, Y", 20020214003000); and I got December 14, 1901. What's happening? Does anybody have a clue? -- http://www.php.net/manual/en/ref.datetime.php http://master.php.net/manage/user-notes.php?action=edit+19117 http://master.php.net/manage/user-notes.php?action=delete+19117 http://master.php.net/manage/user-notes.php?action=reject+19117

« previous php.notes (#26692) next »