cancel
Showing results for 
Search instead for 
Did you mean: 

Date format

Frequent Contributor

Date format

We publish the datetime type attributes in webpages , The current date format is MM/DD/YYYY , How to change this format in descriptor to show DD/MM/YYYY ?

2 REPLIES
MEGA

Re: Date format

Hello

 

I assume the date value is related to a HOPEX MetaAttribute.

As far as I know, there is no standard feature to control the format in descriptors.

 

It is possible to write custom code to control format according to descriptor type

  • RTF descriptor: you can use a RTF macro if you are in DOC mode (old generation mode available only with Windows Front-End). This is NOT supported for RTF/DOCX mode (new mode required for Web Front-End)
  • Code/HTML descriptor: you can call a macro using tag ExternalCall. See KB 00002635

Another solution is to build a computed MetaAttribute and customize the format of a datetime MetaAttribute. See KB 00000662

Jerome
Occasional Contributor

Re: Date format

Hi there,

 

You can simply change the windows date format to DD/MM/YYYY on the computer/server you use to generate your website.

 

Best regards,
Christoph