note 57638 deleted from function.getdate by bobby
| From: | bobby@php.net | Date: | Fri, 08 Sep 2006 14:55:37 +0000 |
| Subject: | note 57638 deleted from function.getdate by bobby | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-116916@lists.php.net to get a copy of this message | ||
Note Submitter: OREN WISMAN
----
add few days for today date and convert to mysql date format
<?php
$days_2_add = 2;
$expired = mktime(0, 0, 0, date("m"), date("d")+$days_2_add,
date("Y"));
$expired = date("Y-m-d",$expired);
?>