Skip Navigation
Expand
Display time/date as European (Military) format
Answer ID 443   |   Last Review Date 06/30/2023

How do I set the time stamp to display as European (Military) format?

Environment:

Date/Time display

Issue:

I would like the date stamp to display with the day followed by the month and the time stamp to display 2:00 p.m. as 14:00. 

Resolution:

The DTF_SHORT_DATE configuration setting specifies the format for the date portion of the timestamp used in the application. To display the day first and the month, you can edit the DTF_SHORT_DATE setting to be:

%d-%m-%Y

This value changes the timestamp to represent the date in the following format with the day first, followed by the month, followed by the year:

16-11-2007
 

Additionally, to edit the time stamp to use a 24-hour clock instead of an AM / PM indicator, enter the combination of variables in the DTF_TIME configuration setting as follows: %H:%M

 

Path to setting(s): Select Configuration from the navigation area > Site Configuration > Configuration Settings > and search by Key.

For more information on accessing the Configuration Editor and editing settings, refer to Answer ID 1960: Editing Configuration Settings.

For more information on date/time formatting, refer to Changing the date and time format in the Oracle B2C Service application.