title: How to get current server time in Java?
body: <p>How can I get current server's time in Java? I tried <code>System.currentTimeMills()</code> but it is returning me the client's time not server time. I want to get "Server's" time in milliseconds.</p>
  
  <p>I searched in net, but I dind't get. All the code returns value from <code>1970</code>. What I want is eg: Current server time is <code>9/25/2012:10:19AM</code> in milliseconds.</p>