Forums / Install & configuration / Formatting Date

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Formatting Date

Author Message

Mike Cohen

Monday 10 March 2003 3:10:42 pm

I'm trying to format a date object I've defined in one of my content classes, the date identifier is start_date. The only way I can get the date to display at all is by using:

{attribute_view_gui attribute=$Child:item.object.data_map.start_date}

But this doesn't allow the use of the 'datetime' formating operator, the date displays like '2003.04.17'

Whenever I use:

{$Child:item.object.data_map.start_date.content|datetime(custom,"%m %d %y")}

I get '12 31 69' which makes absolutely no sense to me.

Any help is greatly appreciated,

Mike Cohen