cancel
Showing results for 
Search instead for 
Did you mean: 

How to Change Date Format according to the Locale/Country of Portal User

Former Member
0 Kudos

Hi,

In a webdynpro applicaiton, how to chage the Date Format according to the Locale/Country of Portal User.

Consider for INDIA: mm/dd/yyyy

Consider for UK: yyyy/mm/dd

So when i select the date from the Date Picker[input ui element bound to date context variable], the date format should be displayed accroding the portal users country/locale.

Creating a simple type for every date format in the dictionary would not be the right solution.

Please help.

Thanks,

Regards,

Aditya Metukul

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

By the portal seting the date picker behave the dateformat for that country setting.you need not do the coding or to define the simple date type in Dictionary.

Kind Regards

Mukesh

Former Member
0 Kudos

Hi Aditya,

Check out the following post in SDN and refer the

Bertram's reply on the same topic.

Regards,

Shubham