how to detect day light saving in java
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1305350/how-to-get-the-current-date-and-time-of-your-timezone-in-java">How to get the current date and time of your timezone in Java?</a>  </p>
</blockquote>



<p>I have developed a Attendance System and in use for India. Our servers are in US and since they are using PDT. My code reflects time one hour ahead.</p>

<p>say its 9:00 am IST ---- I get the time as 10:00 am IST</p>

<p>other than detecting one hour from the time, which will be a temporary solution.</p>

<p>Pls suggest me some way to overcome this situation</p>
