Forums / General / format class identifier
K C
Thursday 25 August 2005 6:27:51 am
Hey,
I have a class with idetifier
<date_begin> code is just an integer, date_begin is timestamp Is it possible to have the datetime in integer format ? Now I always get something like this: 6666 wednesday 15 decembre 2004 12:00:00 am I cannot change the attribute date_begin in the class, it has to be in datetime format gr. K.
Marko Žmak
Thursday 25 August 2005 6:41:32 am
Use the timestamp attribute of ezdatetime data type. See:
http://ez.no/doc/ez_publish/technical_manual/3_6/reference/objects/ezdatetime
Also try:
{$your_object.data_map.date_begin|attribute(show)}
somewhere in the template code.
-- Nothing is impossible. Not if you can imagine it! Hubert Farnsworth