note 21987 added to function.localtime

From: Date: Sun, 02 Jun 2002 23:57:09 +0000
Subject: note 21987 added to function.localtime
Groups: php.notes 
Request: Send a blank email to php-notes+get-31363@lists.php.net to get a copy of this message
Be VERY CAREFUL with the return of this function if you intend to feed it straight back into mktime(). localtime() returns months as 0 to 11, but mktime uses months as 1 to 12. The resulting off-by-one errors can be ... unpleasant. You Have Been Warned. Wade. -- http://www.php.net/manual/en/function.localtime.php http://master.php.net/manage/user-notes.php?action=edit+21987 http://master.php.net/manage/user-notes.php?action=delete+21987 http://master.php.net/manage/user-notes.php?action=reject+21987

« previous php.notes (#31363) next »