PHP/MySql Determining age/Elapsed Time of inserted data -


i have no idea on how explain this, if @ http://www.gw2lfg.com, elapsed time column trying do, determine if minute old, 2 minutes old, etc. help

your looking time elapse can following.

 unix_timestamp('2012-12-01 12:12:12') - unix_timestamp(curtime());  

you can convert seconds , minutes.


Comments

Popular posts from this blog

php - Passing multiple values in a url using checkbox -

compilation - PHP install fails on Ubuntu 14 (make: *** [sapi/cli/php] Error 1) PHP 5.6.20 -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -