cancel
Showing results for 
Search instead for 
Did you mean: 

Changing the time format from 12 hour to 24 hour

Former Member
0 Kudos

Hi

I am using ESS/MSS and are making use of the Leave Request fuctionality. The time fields however requests the time to be entered in the 12:00 - 12:00 format. I would like this to be in the 00:00 - 00:00 (24 hour format). Does anybody know where I can set this. My portal is running on a Solaris 10 OS.

Regards

Duvan

Accepted Solutions (1)

Accepted Solutions (1)

former_member206159
Active Contributor
0 Kudos

check the below threads that may help you to some extent

Raghu

Former Member
0 Kudos

Hi

Thanks for the links. The first link I have used before to get our date format correct to yyyy/mm/dd.

However in my DEV portal the time is displayed in 24 hour format without me having to change those settings to something els, in in my QA nad PRD portal the time is displayed in 12 hour format.

I can however state that my DEV portal is running on a Linux server and my QA and PRD portal on Unix.

This makes it a bit difficult to find exactly where the difference is. The DEV portal will however be moved to a Unix box soon. It seems the setting is somewhere on the OS. I have played around with the date command but this does not help.

Regards

Former Member
0 Kudos

Hi

I logged a call with SAP about this problem and they replied that the date and time format is derived from the settings in the properties.Default file on OS. So the answer as given in the first link is correct.

It does however seem that Linux and Unix differs in the format of their locales.

See SAP Note 1113459 and 947081 for more information.

Thanks for the help anyway.

Regards

Duvan

Edited by: Ivor Claassen on Jun 26, 2009 1:51 PM

Former Member
0 Kudos

Hi Ivor,

Can you explain me the steps you have followed.

Former Member
0 Kudos

Hi

On OS goto -> /usr/sap/SID/JC00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/system/properties

Edit the following file: prtDefault.properties

Look for the following two lines: request.defaultlanguage=en

request.defaultcountry=us

I added the following lines below these two: request.mandatorylanguage=en

request.mandatorycountry=us

Now change the property request.defaultcountry=us and request.mandatorycountry=us to different values. Examples are uk,gb,za this then changes the way the date and time is formatted in the portal. You will have to restart the portal everytime you make a change to see what it looks like in the portal.

Hope this helps.

Regards

Answers (0)