You can use the fmt library. It adjusts to your locale.
Zarar
On Tue, 21 Jun 2005, Arno Schatz wrote:
> Hi,
>
> How do I present a Date in the users locale in a JSP?
>
> I tried
>
> but the format is not ok. When I use the format attribute it won't show up in
> the locale
> prefer
;Arno Schatz" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, June 20, 2005 5:40 PM
Subject: localisation of Dates
Hi,
How do I present a Date in the users locale in a JSP?
I tried
but the format is not ok. When I use the format attribute it won't s
Hi,
How do I present a Date in the users locale in a JSP?
I tried
but the format is not ok. When I use the format attribute it won't show up in the locale
preferred way.
I would like to format it like:
DateFormat df = DateFormat.getDateTimeInstance(DateFormat.MEDIUM,
DateFo
3 matches
Mail list logo