I am trying to load date which is 270 prior from today. I tried the following code but looks like something is wrong.
var d = new Date();
alert(d.setDate(d.getDate() - 2).toString()); //2 is just that I tried some number
I want to display that in the following format too dd/mm/yyyy. Thanks