Possible Duplicate:
How to calculate the difference between two dates using PHP?
I have a PHP array that holds film release dates in the form of “2012-04-04” as an example. How would i go about finding the difference of 2 dates.
For example –
2012-04-04
2012-03-31
Expected response – 5 days difference
1 Answer