moment js using date format chnage code example Example: moment now format var date = moment().format('MM/DD/YYYY');