note 49448 rejected from function.date by cece

From: Date: Fri, 28 Jan 2005 09:46:33 +0000
Subject: note 49448 rejected from function.date by cece
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-84114@lists.php.net to get a copy of this message
Note Submitter: danny ---- Can somebody help me?... <?php $k=date("d",(strtotime('2005-10-28')+2*86400)); // 86400 24*3600 echo $k."\n"; // = 30 $k1=date("d",(strtotime('2005-10-28')+3*86400)); echo $k1."\n" ;// also = 30 , although must be 31 ?> This problem is just when must calculate the "2005-10-31" date...

« previous php.notes (#84114) next »