cancel
Showing results for 
Search instead for 
Did you mean: 

WDP Date Format

Former Member
0 Kudos

Dear all,

I've created a simple type MyDate. When i set format to yyyy.MM.dd it works fine, displays date like 2007.09.28. However, when i change the format to dd.MMM.yyyy the date is displayed like 28.099.2007...

According to simpledateformat, it should be possible though and it should display 28.Sept.2007 ...

Is there a limit on the formats that can be used in Web Dynpro?

Kind regards,

J.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

For your requirement

dd MMMM yyyy

Check many ways for date formats

<a href="http://authors.aspalliance.com/aspxtreme/sys/demos/datetimeformats.aspx">Date formats</a>

Regards

Abhijith YS

Message was edited by:

Abhijith YS

Former Member
0 Kudos

Hi Joren,

Try giving dd.MON.yyyy instead of dd.MMM.yyyy .

Warm Regards,

Murtuza

Former Member
0 Kudos

Thx for the answer, but that is not a valid format.

According to this thread, it should be a bug. Is it an offical bug with a fix?

It is a specific problem with the date picked from the datepicker. When automatic validation is done, there's a message that the format should be 28.Sep.2007 for example, which is correct. When manually entered, the date 28.Sep.2007 is accepted correctly too. Only the date picked from the datepicker and filled in in the inputfield is in the wrong format: 28.099.2007 and the automatic validation complains about the format too...

Kind regards,

J.

Message was edited by:

Joren Crauwels

Former Member
0 Kudos

I messaged the problem to SAP and they say it's a bug... they are working on a fix.

greetz,

J.