Get current date JavaScript


Description
Get the current date


var d = new Date();
var month = d.getUTCMonth() + 1;
var day = d.getUTCDate();
var year = d.getUTCFullYear();

var currDate = day + "/" + month + "/" + year;

SEE ALSO