note 42320 deleted from function.strtotime by betz

From: Date: Mon, 31 May 2004 09:00:09 +0000
Subject: note 42320 deleted from function.strtotime by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-70337@lists.php.net to get a copy of this message
Note Submitter: Eric ---- To "ach at hellea dot be": That date is valid. The example showed the non-existant date February 30. What happens is the extra 2 days are "rolled over" into March, and at the end of the example you get March 2. This is valid as "February 30th" would be 2 days after February 28th, and the *real* date for 2 days after the 28th is March 2.

« previous php.notes (#70337) next »