Hello Koti,
Create a formatter function and code as below -
function convertDate(inputFormat) {
function pad(s) { return (s < 10) ? '0' + s : s; }
var d = new Date(inputFormat);
return [pad(d.getDate()), pad(d.getMonth()+1), d.getFullYear()].join('/');
}
Source - http://stackoverflow.com/questions/13459866/javascript-change-date-into-format-of-dd-mm-yyyy
Eg on how to use.
Press F12 and follow as -
1. date = new Date();
2. convertDate(date);
You will get the desired output.
BR.