Format date with Moment.js
I have a string in this format: var testDate = “Fri Apr 12 2013 19:08:55 GMT-0500 (CDT)” I would like to use Moment.js get it in this format mm/dd/yyyy : 04/12/2013 for display. I tried to do it using this method, moment(testDate,’mm/dd/yyyy’); Which errors and says there is no such method called replace? Am I … Read more