title: How do I convert a jQuery Date value to a long value?
body: <p>I have a jQuery Date function which shows output like <code>July 09 2012</code>. Now I want to change this string value to a long value like <code>1335363564815</code>, e.g. milliseconds. How can I do this? </p>
  
  <p>This is my code for my calender:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
           $('#date2').jdPicker({date_format:"FF dd YYYY"}); 
  &lt;/script&gt;
  </code></pre>
  
  <p>I use this plugin: <a href="http://jdpicker.paulds.fr/?p=doc" rel="nofollow"><code>jquery.jdpicker.js</code></a></p>