Date diff in PHP
Posted by John on July 15th, 2003I needed this, and didn’t find a ready-made solution (there are, no doubt, billions of ready-made solutions, but I refuse to go searching through those hideous directories of code snippets to find them). It seems to work with all modern dates, and I’ve tested it reasonably well, trying a number of different cases, but [...]