Possible Duplicate:
Calculate number of days between two given dates
Is there a way to calculate the number of days between the current date and a specific month?
For example if the current date is March 25th 2011 and I want PHP to calculate the days between now and September 5th 2010.
Is there a function available for this?
EDIT
Also, I would like the year to be dynamic (so I don't have to define it) - so if the present date is September 20th 2010 it knows to count the same year - whilst if it's January 7th 2009 it knows that it needs to calculate the number of days between Jan 7th 2009 and September 5th 2008.