Forums / Developer / format number / Comment62451

Author Topic

Marko Žmak

Friday 08 October 2010 3:06:30 pm

Comment62451

Look at the datetime function:

http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Template-operators/Formatting-and-internationalization/datetime

What you probably need is:

{$date|datetime(custom, '%d')}

where the $datetime should be the timestamp of the date you want to display.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth