Possible Duplicate:
How to find number of days between two dates using php
If I have two dates - how do I find the real difference in days between two dates? You must take things like leap years and the number of days in each month into account.
How many days are between something like 2010-03-29
and 2009-07-16
?