title: Is there any way to get current timezone in javascript?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1091372/getting-the-clients-timezone-in-javascript">Getting the client’s timezone in JavaScript</a>  </p>
  </blockquote>
  
  
  
  <p>Is there anyway to get current timezone in javascript. All i see is</p>
  
  <pre><code>Date.getTimeZoneOffset()
  </code></pre>
  
  <p>The problem I am facing is, I have a piece of functionality which allows the users to download pdf, now the pdf has to include a 'download date' in it which should be users local date, have to do this in java. But its all confusing, I dont know if i should locale or not or just the timezone will work, each time when i try something the results are different!!!!</p>