note 53662 deleted from function.mktime by felipe

From: Date: Sun, 06 Jan 2008 12:04:25 +0000
Subject: note 53662 deleted from function.mktime by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-134848@lists.php.net to get a copy of this message
Note Submitter: venimus777 at yahoo dot com ---- You may consider easier to calculate dates using strtotime() instead of mktime(): <? date('Y-m-d',strtotime('now +'.$f.' months')); ?> will produce the date $f($f>=0) months after today.

« previous php.notes (#134848) next »