iginal Message-
From: Jason Lea [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 12:59 PM
To: Struts Users Mailing List
Subject: Re: [OT] Date Localization
The SimpleDateFormat has a setTimeZone() method (coming from
DateFormat).
The locale doesn't have timezone information,
Could you please provide the code snippet of this..??
-Original Message-
From: Jason Lea [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 12:59 PM
To: Struts Users Mailing List
Subject: Re: [OT] Date Localization
The SimpleDateFormat has a setTimeZone() method (coming from
Hi Viral,
> I have a Date stored in GMT format in database. Now I need to display
> this date to user depending on his/her LOCALE. I found SimpleDateFormat
> and few other classes to convert the Date Format, but I am not able to
> find how to change the Date value as per user locale.
>
> Example
The SimpleDateFormat has a setTimeZone() method (coming from DateFormat).
The locale doesn't have timezone information, locale is about language
and countries. Countries may have several different timezones so there
is no accurate way to map them to timezones. I normally allow users to
pick th
4 matches
Mail list logo