"Spectron International, Inc." wrote:
>
> How do I change from Eastern Daylight Time to Eastern Standard time. As far
> as I know Calendar.getInstance() returns the default calendar information
> for the machine. Right now my Linux machine is EST but Java returns EDT. I
> though that by changing in in Linux it would change the JDK too. Is there an
> export I have to set up?
>
> Thanks in advance
We had similar problems. Try this cal = Calendar.getInstance(
TimeZone.getTimeZone( "EST" ) ) ;
--
Justin Lee | It's not the weight of the stone that's holding you down.
JEDI | It's the way it fascinates your mind. -- Tourniquet
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]