title: How to get Java server's time zone?
body: <p>I am using Java 7 on a Windows machine. I am developing a web app running on Tomcat.</p>
  
  <p>I need to know the server's time zone. Here is what I do for this purpose:</p>
  
  <p>TimeZone.getDefault();</p>
  
  <p>Is this the correct way?</p>
  
  <p>Thanks for your input!</p>
  
  <p>Regards.</p>