Node.js examples for Date:Date Format
Format Date as DD/MM/YYYY
Date.prototype.format = function() { var d = new Date(); var curr_date = d.getDate(); var curr_month = d.getMonth(); var curr_year = d.getFullYear(); return (curr_date + "/" + curr_month + "/" + curr_year); }