format current date in moment without the time code example Example: moment now format var date = moment().format('MM/DD/YYYY');