Hi
I usually use this method
java.text.DateFormat.getDateInstance(DateFormat.FULL,new
Locale(<>,<>).format(new Date())
to format the date in the user locale. for example for italian I use "it"
as the first parameter and "" for the second
hope it helps,
Giovanni
At 13:10 28/06/2002 +0000, you wrote:
>Hi
>
>How do I format my Date to Local Date?
>
>I can't use toLocal because this is deprecated so I don't want to use
>that.
>
>If my user is from Sweden it should format the Date to his Local Date.
>
>
>
>/Henrik
----------------------------------------
Giovanni Cuccu
Sw Engineer@d...
Dianoema S.p.A.
Via de' Carracci 93 40131 Bologna
Tel: 051-4193911
e-mail:gcuccu@d...
----------------------------------------