momentjs date time format examples Example: format a date moment moment(testDate).format('MM/DD/YYYY');