how to display a date as 2/25/2007 format in javascript, if i have date object
function formatDate(a) //pass date object { return (a.getMonth() + 1) + "/" + a.getDate() + "/" + a.getFullYear(); }
1.4m articles
1.4m replys
5 comments
57.0k users