title: Convert string "04/09/2013" MM/DD/YYY to Date Format in JavaScript
body: <p>I want to convert "04/09/2013" to date so I can compare start date and end date like, if (stardate &lt; enddate) { //do this } else {}. I want to convert it to MM/DD/YYYY format.</p>