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

Interpreting Date from DB


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


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