how to display a date as 2/25/2007 format in javascript, if i have date object
This would work:
[date.getMonth() + 1, date.getDay(), date.getFullYear()].join('/')