Page 1 of 1
how to get the difference in time as number of days?
Posted: Fri Nov 14, 2008 4:20 am
by susrisha
i have two dates
$date1
and $date2
I want to know difference between these two dates in number of days.
How do i get it??
Re: how to get the difference in time as number of days?
Posted: Fri Nov 14, 2008 4:42 am
by lettie_dude
Check out php.net
There is a function on this page to do exactly what you require.
http://uk.php.net/manual/en/function.mktime.php
Re: how to get the difference in time as number of days?
Posted: Fri Nov 14, 2008 4:45 am
by VladSun
Re: how to get the difference in time as number of days?
Posted: Fri Nov 14, 2008 7:07 am
by susrisha
thanks alot for the replies.
I got my solution.