strtotime()

From: Date: Wed, 13 Aug 2003 18:19:15 +0000
Subject: strtotime()
Groups: php.general 
Request: Send a blank email to php-general+get-159465@lists.php.net to get a copy of this message
I'm curious why this function uses a static value of 30 days to represent a month. If I do: strtotime( '+1 month', mktime( 0, 0, 0, 1, 1, 2003 )); I get back the timestamp for 1/31/2003 and not 2/1/2003. 30 days != 1 month necessarily and I'm curious why it does in strtotime();. Chris

« previous php.general (#159465) next »