how to get format in moment js for 99 hour code example Example: format a date moment moment(testDate).format('MM/DD/YYYY');