As mentioned in my other post Date/Time Formatting Can Unite The World, dates and times should be formatted in a very specific way. They are either ordered from general to specific, or you just have a jumbled mess. Sorry, Europe, but your dd-mm-yyyy is ridiculous and completely reversed. When you give...
dates
Finding a quick PHP function for date difference was painful. Now that I found it, here’s the quick easy way. This site was a great help: http://www.phpf1.com/tutorial/php-date-difference.html