add today's date in moment js in html code example Example: moment now format var date = moment().format('MM/DD/YYYY');