var d=new Date();
var day=d.getDate();
var month=d.getMonth() + 1;
var year=d.getFullYear();
document.write(day + "/" + month + "/" + year);
