title: Unix timestamp creation in java
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/7784421/getting-unix-timestamp-from-date">Getting unix timestamp from Date()</a>  </p>
  </blockquote>
  
  
  
  <p>I am having the date </p>
  
  <pre><code>Fri, 09 Nov 2012 23:40:18 GMT
  </code></pre>
  
  <p>and how should I convert it to Unix timestamp like this '1352504418' in java</p>