title: how to get difference between two dates using javascript
body: <p>I am calculating the number of days between the 'from' and 'to' date. For example, if the from date is mm/dd/yyyy and the to date is mm/dd/yyyy. How do I get the result using JavaScript?</p>
  
  <p>from date is like:11/25/2014
  to date is like  :11/27/2014</p>
  
  <p>I need result as 2 by using javascript></p>