Hey,
In PHP, I need a function or Class with methods that allow me to pass it
a Date string/timestamp and it returns the relative date to now.
e.g.
2009-03-08 returns "Yesterday"
2009-03-01 returns "Last Week"
2008-08-08 returns "Last Year" or something like that
similar to the way Outlook groups email
anyhow, its php/mysql app.. surely there is some open source code
somewhere that will do this for me.. did a bit of a google but must be
using the wrong terms.
btw Mysql db so can use MySQL in query if you think that would be the
better way to do it?
I'm displaying a list of Sign ups and I want to group them by joining
date.









Bookmarks