how to display a date from moment js code example Example: format a date moment moment(testDate).format('MM/DD/YYYY');