note 82394 added to function.mktime
| From: | Anonymous at osu1 dot php dot net | Date: | Wed, 09 Apr 2008 10:22:18 +0000 |
| Subject: | note 82394 added to function.mktime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-138049@lists.php.net to get a copy of this message | ||
whats wrong here?
when i use: $may1st = mktime(0, 0, 0, 5, 1, 2008);
it results into "1209592800" (reconverted: Wed, 30 Apr 2008 22:00:00 UTC)
when i convert the date via some online unit conversion i get: 1209600000 which is the correct
timestamp.
whats happening here?
----
Server IP: 217.13.201.10
Probable Submitter: 212.144.15.62
----
Manual Page -- http://www.php.net/manual/en/function.mktime.php
Edit -- https://master.php.net/note/edit/82394
Del: integrated -- https://master.php.net/note/delete/82394/integrated
Del: useless -- https://master.php.net/note/delete/82394/useless
Del: bad code -- https://master.php.net/note/delete/82394/bad+code
Del: spam -- https://master.php.net/note/delete/82394/spam
Del: non-english -- https://master.php.net/note/delete/82394/non-english
Del: in docs -- https://master.php.net/note/delete/82394/in+docs
Del: other reasons-- https://master.php.net/note/delete/82394
Reject -- https://master.php.net/note/reject/82394
Search -- https://master.php.net/manage/user-notes.php