note 87922 deleted from function.mktime by danbrown

From: Date: Tue, 30 Dec 2008 21:17:17 +0000
Subject: note 87922 deleted from function.mktime by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-148696@lists.php.net to get a copy of this message
Note Submitter: Anonymous ---- I'm trying to add 25 hours to a date to get the next date. echo date('o-m-d H:i:s', mktime( 25,0,0, 12,27,2008 )); correctly outputs: 2008-12-28 01:00:00 echo date('o-m-d H:i:s', mktime( 25,0,0, 12,28,2008 )); incorrectly outputs: 2009-12-29 01:00:00 Is this a bug in mktime or am I doing something wrong?

« previous php.notes (#148696) next »