Jesper de Jong wrote:Indeed SimpleDateFormat does not have a setLocale method, but it does have a constructor to which you can pass a Locale object:
You can also change the default locale, but not by changing a system property as Campbell suggests. Class Locale has a static setDefault method:
This will not be a persistent setting; it will remain in effect only for the JVM that is currently running your program.
First, thank for all, I did this example here:
Your output is this :
Sabado, 3 de Setembro de 2011
But I want this output :
3 de Setembro de 2011
I thank anyone who can help me