The desired output is being able to parse that string.

so if I do

SimpleDateFormat sdf = new
SimpleDateFormat("MM/dd/yyyy HH:mm:ss z");

System.out.println(sdf.parse("08/01/2002 12:00:00
EST"));

Then I get "Thu Aug 01 13:00:00 EDT 2002"

What do I do to keep it in EST?

Thanks,
Prashant.


--- Kalpeshkumar soni <[EMAIL PROTECTED]> wrote:

> The input date itself shows timezone information
> (EST)
>  what is the desired output?
>  kalpesh
> 
>  On 9/19/05, Prashant Pai <[EMAIL PROTECTED]>
> wrote: 
> > 
> > I am using a java.text.SimpleDateFormat in Java 5
> to
> > parse the date "08/01/2002 12:00:00 EST". However,
> the
> > formatter recognizes my locale and forcibly
> applies
> > Daylight Savings. How to I tell the formatter to
> not
> > apply daylight savings?
> > 
> > TIA,
> > Prashant.
> > _______________________________________________
> Juglist mailing list
> [email protected]
>
http://trijug.org/mailman/listinfo/juglist_trijug.org
> 



                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

_______________________________________________
Juglist mailing list
[email protected]
http://trijug.org/mailman/listinfo/juglist_trijug.org

Reply via email to