This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Setup & design » timestamp in template .. how ?
expandshrink

timestamp in template .. how ?

timestamp in template .. how ?

Saturday 17 May 2003 4:13:00 am - 2 replies

Hi ...

i need to get the timestamp for the articales in the template files, any1 know how ?

Saturday 17 May 2003 4:21:06 am

LOL .. found it happy.gif Emoticon

currentdate() = timestamp

so if u wanna get the days of any artical :
{floor(div(sub(currentdate(),$node.object.published),86400))}

hope this will usefull for some1 happy.gif Emoticon

Saturday 17 May 2003 2:22:55 pm

Selmah,

It would b good if you could create a quick howto in contributed documents

Tony

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from