Re: Date Problem
| From: | mustafa ocak | Date: | Thu, 01 May 2003 08:14:27 +0000 |
| Subject: | Re: Date Problem | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-27463@lists.php.net to get a copy of this message | ||
The PHP Manual says :
Example 3. date() and mktime() example
$tomorrow = mktime (0,0,0,date("m") ,date("d")+1,date("Y"));
$lastmonth = mktime (0,0,0,date("m")-1,date("d"), date("Y"));
$nextyear = mktime (0,0,0,date("m"), date("d"), date("Y")+1);
----- Original Message -----
From: "Ramesh PAtel " <ramesh@banas.guj.nic.in>
To: <php-db@lists.php.net>
Sent: Thursday, May 01, 2003 9:40 AM
Subject: [PHP-DB] Date Problem
> Hi All
>
> now Problem is
>
> I want to Add date.
>
> i have one date variable this
> Ex. mydate ='2003-04-25'
>
> now i want to add date
>
> xyzdate= 2003-04-25 + 5 Day
>
> And How to find date diff in Day
>
>
>
> Please Help me.
>
> Ramesh Patel
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php