title: How to convert date to timestamp?
body: <p>I want to convert date to timestamp, my input is <code>26-02-2012</code>. I used </p>
  
  <pre><code>new Date(myDate).getTime();
  </code></pre>
  
  <p>It says NaN.. Can any one tell how to convert this?</p>