RE: [PHP-DB] increase date()
| From: | Rankin, Randy | Date: | Mon, 18 Mar 2002 13:17:41 +0000 |
| Subject: | RE: [PHP-DB] increase date() | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-17729@lists.php.net to get a copy of this message | ||
Try this:
$six_months_from_now = date("Y-m-d", mktime(0,0,0, date(m)+6, date(1),
date(Y)));
echo "Six Months From Now: $six_months_from_now<P>";
-----Original Message-----
From: its me [mailto:fotna@egypt.net]
Sent: Sunday, March 17, 2002 12:28 AM
To: php-db@lists.php.net
Subject: [PHP-DB] increase date()
i have:
$nowdate=date("Y-m-d");
and i want to increase it by 6 months,how can i do that??
Rehab M.Shouman
------------------------------------------------------------
------------------------------------------------------------
---------------------------------------------------------------------
Express yourself with a super cool email address from BigMailBox.com.
Hundreds of choices. It's free!
http://www.bigmailbox.com
---------------------------------------------------------------------
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php