Daily Archives: Apr 13, 2008

[PHP] Print out the age of a date in words

I came across a handy piece of code to print out the “age of a date” in words on ThinkPHP. This code should print out the difference between two dates in words (X Days/Months/Weeks/Years). I have modified the original piece of code to print out the number of years as well. This is a snippet […]