Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 82387

DateFormat does not give the correct date

$
0
0

I use DateFormat to display a date in the locale of the user.

DateFormat.getDateInstance(DateFormat.FULL,locale).format(aDate);

The same record is used for all users.

If I set the date to 05/24/2010, it is displayed in all the locales as 05/23/2010:

Sunday, May 23, 2010

dimanche 23 mai 2010

dimanche 23 mai 2010

Domingo, 23 de Maio de 2010

niedziela, 23 maja 2010

23 mai 2010

Sonntag, 23. Mai 2010

2010年5月23日 星期日

I tried with the database field Localize and not Localize with no luck.

Does anyone have an idea?


Viewing all articles
Browse latest Browse all 82387

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>