Forums / Setup & design / Object Name Pattern

Object Name Pattern

Author Message

Daniel Hubbell

Sunday 28 March 2004 8:21:07 pm

How can I display a formatted date in the Object Name Pattern? When I use the attributr identifer for a Date datatype it displays the date serial number. I would like it to display a formatted date. Can this be done?

Dan Hubbell
Gobles Public schools

Balazs Halasy

Sunday 28 March 2004 10:57:51 pm

Hi,

I don't think that it is possible to format the date in order to make it appear nicer in this particular case. The number you're looking at is not a serial number, it is most probably the UNIX timestamp of the date+time that was stored.

Balazs

Josh Sowin

Tuesday 30 March 2004 9:33:20 am

This is really frustrating. This should be possible... it is completely useless in UNIX timestamp. Can this be built into ezPublish somehow?

Peter Schnuerer

Wednesday 21 April 2004 8:59:46 am

I got the same problem.
I do need a date attribute in the object name. but in yyyy.mm.dd format - a timestamp is absolutly useless for me!

I think the object name ist just string, that is created wehen stroring the new article. So it must be quite easy to change the storing-format! but where can I do this????

thanks!
peter