MySQL Relative Time Since
You have some data which many users edit often, and you want to return a field with some sort of relative time stamp on it. For example, “27 minutes ago”…
A bunch of ramblings about PHP programming, JQuery, MySQL and other 'stuff'
You have some data which many users edit often, and you want to return a field with some sort of relative time stamp on it. For example, “27 minutes ago”…
Don’t use DATE_FORMAT when trying to assertain the latest date in a table. It won’t work. DATE_FORMAT will convert the dates to a string, and then the MAX will compare…