If you just want the difference, use UNIX Time, which is just time(); in php. It outputs the time in seconds from the date when the UNIX 'clock' was started. You just have to take the difference between the two numbers. One day is 86400 seconds.
Welcome to http://www.myphotowizard.net
where you can edit images, make a photo calendar, add text to images, and do much more.
When you know what you're doing it's called Engineering, when you don't know, it's called Research and Development. And you can always charge more for Research and Development.