note 92778 deleted from function.getdate by danbrown

From: Date: Sun, 09 Aug 2009 17:51:50 +0000
Subject: note 92778 deleted from function.getdate by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-159249@lists.php.net to get a copy of this message
Note Submitter: manuel ---- I believe that the functions by eric dot schultz and Anonymous on 16-Oct-2008 02:01 will return values with leading zeroes for minutes and seconds, given timestamps with seconds < 10 or minutes < 10. This will lead to unexpected results if, for example, those values are passed to mktime() or gmmktime(). I believe the earlier function, by chris AT cmbuckley DOT co DOT uk, is correct in this regard.

« previous php.notes (#159249) next »