Message Date --> EST?!
I have a message with a date of:
Date: Thu, 13 Apr 2006 13:50:13 -0400 (EDT)
I to the following:
-
Date dd = mailPacket.getSentDate();
SimpleDateFormat formatter =new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
String formattedDate = formatter.format(dd);
--
This gives me:
2006-04-13 17:50:13
Looks like it added the 4 hours from the EDT. I want to have the time (no matter where it is from) converted to EST all the time. SO..this should have remained 13:50:13.
Ideas?
Thanks,
Michael

