Interpreting Date from DB

MOZ

Well-known member
How do I read the date from the DB. Not technically but how do I interpret it.

It is a 10 digit integer. Something like:1344545345
 
<xen:datetime time="{$your_variable}" />
Thats for outputting into html and gives you A moment ago, 11 minutes ago, etc.
 
Top Bottom