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

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

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

asp.net mvc - breakpoint on javascript in CSHTML? -