I want to get the 2 months back date from today and display it in MM/DD/YYYY format.
Below is my code and it is giving value like this "Tue Feb 11 14:30:42 EST 2014"
var d = new Date();
d.setMonth(d.getMonth() - 2);
$('#<%= txtStartDate.ClientID%>').val(d);