title: From timestamp to date in Java
body: <p>I've a problem creating new date in Java. I receive from webservice a timestamp (for example 1397692800). You can see from <a href="http://www.onlineconversion.com/unix_time.htm" rel="nofollow">this</a> online converter that is equal to 17 Apr 2014.
  When I try to create a new date with this timestamp in Java </p>
  
  <pre><code>Date date = new Date (1397692800);
  </code></pre>
  
  <p>console says to me that is equal to Sat Jan 17 05:14:52 CET 1970. What's wrong with my code?</p>