• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Interpreting Date from DB

MOZ

Well-known member
#1
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
 

chrisj

Active member
#2
<xen:datetime time="{$your_variable}" />
Thats for outputting into html and gives you A moment ago, 11 minutes ago, etc.