What i am trying to do, is grab a date from a MySQL table, then compare it to the current days date.
say i get the store date and it is "2009-2-12" and i compare it to $todayDate which is 2009-2-13.
I want output something like:
"Last update: Yesterday"
or say today was the 12th, then it would say:
"Last update: Today"
and if it is more than a week sense the last update, i want it to say:
"Last update: Over a Week Ago"
how would i go about doing this?