>> Is there any function avialable in PHP to calculate
>> the no of days by passing 2 dates
>>
If you happen to be pulling both dates from MySQL you could use the
MySQL date functions:
http://dev.mysql.com/doc/mysql/en/Date_and_time_functions.html
http://dev.mysql.com/doc/mysql/en/Date_calculation
On Mon, 03 Jan 2005 22:58:49 -0500, Jerry Kita <[EMAIL PROTECTED]> wrote:
> Khuram Noman wrote:
> > Hi
> >
> > Is there any function avialable in PHP to calculate
> > the no of days by passing 2 dates like 1 argument is
> > 1/1/2005 and the second one is 1/2/2005 then it
> > returns the no of days
Khuram Noman wrote:
Hi
Is there any function avialable in PHP to calculate
the no of days by passing 2 dates like 1 argument is
1/1/2005 and the second one is 1/2/2005 then it
returns the no of days or how can i do that if there
is no builtin function .
Regards
Khuram Noman
__
3 matches
Mail list logo