moment change date format from dd/mm/yyyy to mm/dd/yyyy code example Example: moment format date dd/mm/yyyy moment(new Date()).format("DD/MM/YYYY")