title: Get Date or Time for, Server
body: <p>I have this codes to get the current date on my desktop.</p>
  
  <pre><code>SimpleDateFormat dnow = new SimpleDateFormat("MM-dd-yyyy");
  text.setText(dnow.format(new java.util.Date()));
  </code></pre>
  
  <p>Now I have a server and computers,
  how can I get the time for the server,
  if I install the program, the computers will have the
  time of the server in my program, cause my database is located in the server.</p>