note 63782 added to function.mktime

From: Date: Thu, 30 Mar 2006 15:11:47 +0000
Subject: note 63782 added to function.mktime
Groups: php.notes 
Request: Send a blank email to php-notes+get-107036@lists.php.net to get a copy of this message
Bill: What do you mean it doesn't work? If you're referring to the fact the your 'B' example doesn't print '2006-02-30 05:47:23', its because there are only 28 days in February, thus returning the second day of March. If you wanted to get the last day of February, you should consider using the 2nd PHP example. ---- Server IP: 216.194.113.175 Probable Submitter: 209.218.213.234 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.mktime.php Edit -- http://master.php.net/note/edit/63782 Del: integrated -- http://master.php.net/note/delete/63782/integrated Del: useless -- http://master.php.net/note/delete/63782/useless Del: bad code -- http://master.php.net/note/delete/63782/bad+code Del: spam -- http://master.php.net/note/delete/63782/spam Del: non-english -- http://master.php.net/note/delete/63782/non-english Del: in docs -- http://master.php.net/note/delete/63782/in+docs Del: other reasons-- http://master.php.net/note/delete/63782 Reject -- http://master.php.net/note/reject/63782 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#107036) next »