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”…
I needed a custom sort column for jquery tablesorter (http://tablesorter.com/docs/) for dates in the format of 12-Aug-2013 as the default tried to sort it as a string Was quite complicated…
I keep having trouble with this simple calculation! So, here is a little example to get the amount of days between now and the next occurance of July 1st. //set…