title: JAVA TimeZone issue EDT Vs EST
body: <p>I a newbie to java and hence haven't been able figure this out since quite some time.</p>
  
  <p>I am using Windows XP and the machine is set to TimeZone: <strong>Eastern Time (US &amp; Canada)</strong>.</p>
  
  <p>I have a Java application, which takes the current system time and timezone info and writes  a string like: 20101012 15:56:00 EST, to a file.</p>
  
  <p>The last piece of Date above, i.e.: the timezone, changes from EST to EDT as i change my system date.</p>
  
  <p>Being precise: From November(eg: Nov2009) to March (Mar 2010), it is EST, otherwise EDT.</p>
  
  <p>EST is what I want <strong><em>ALWAYS</em></strong> and not EDT.</p>
  
  <p>Is there any particular class / function, by which I can always read it as EST?</p>
  
  <p>Awaiting for response.</p>
  
  <hr>
  
  <p>Thanks for your replies. 
  Well, I forgot to mention a few things. </p>
  
  <ol>
  <li><p>I want my machine to be set to: Eastern Time (US &amp; Canada) in the windows time zone settings.</p></li>
  <li><p>In simple terms, What i want to do is: get my machine time, and write it to a text file </p></li>
  <li><p>I am aware of the daylight saving which happens from March to Nov.</p></li>
  </ol>
  
  <p>But the problem is, when I write my machine time to the file, it is written as 2010 01 12 15:56:00 EST if daylight saving (DST) is not present and as 20101012 15:56:00 EDT, if DST is present. 
  My concern is, whether it is DST or not, I want to write EST always.</p>