Forums / Setup & design / Problem "currentdate"

"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".

Problem "currentdate"

Author Message

Vicente Olivan

Wednesday 01 March 2006 10:22:44 am

The code http://ez.no/products/ez_publish/documentation/reference/template_operators/data_extraction/currentdate show current date of server ?

If it is thus, not work to me, show: Current timestamp: 1141240127

Some suggestion?
Thanks

Konrad Mazurkiewicz

Wednesday 01 March 2006 2:23:59 pm

Yes, this shows current date on server but in timestamp format.
If you want human friendly format of date use currentdate() with datetime operator.
Look at http://ez.no/doc_hidden/ez_publish/technical_manual/3_6/reference/template_operators/formatting_and_internationalization/datetime

Regards
Konrad

Vicente Olivan

Thursday 02 March 2006 7:21:38 am

OK, Thanks

works perfectly