title: convert from datetime to another locale datetime in java
body: <p>My client javascript app and server app run in different countries. I need to synchronize events. In other words client app send a url string representing local datetime, something like:</p>
  
  <pre><code>date = new Date() # Mon Jul 22 2013 16:28:34 GMT+0200 (CEST)
  </code></pre>
  
  <p>On the server ( linode ) side, is running a small application written in java. I need to convert this string in a local server side-machine datetime, and store to rdbms via hibernate so that a cron or clock-like app can read this date from table and activate a new event and synchronize to remote. this must happen exactly on the date indicated by client. Which is the best way to accomplish this?  </p>