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??
how to get the difference in time as number of days?
Moderator: General Moderators
-
lettie_dude
- Forum Commoner
- Posts: 65
- Joined: Thu Dec 07, 2006 10:10 am
Re: how to get the difference in time as number of days?
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
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?
There are 10 types of people in this world, those who understand binary and those who don't
Re: how to get the difference in time as number of days?
thanks alot for the replies.
I got my solution.
I got my solution.