Skip to main content

Help Needed: Jsf Date converter Error with

1 reply [Last post]
Joined: 2009-08-26
Points: 0

Hi I have a requirement in which I am having in which the value will give a date in this format '2009-08-24'. and I am not using any date converters here but by default it is converting this date to 'Aug 23,2009'. actually it is displaying one day less then the actual date.

Any reason behind this ? and any solution to display the actual date as Aug 24,2009 ?

Thanks in Advance.


Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2010-10-02
Points: 0

Hi, Here you go.

The JavaServer Faces version uses date/time and number converters to format dates and numbers in a locale-sensitive manner. For example, the same appField.value date is converted in the JSF as follows:

Please post if it helped by chance, thanks.