Momento eliminar un día

let startdate = moment();
startdate = startdate.subtract(1, "days"); // will work with days/d, years/y, months/m
startdate = startdate.format("DD-MM-YYYY");

let startdate = moment().subtract(1, "days").format("DD-MM-YYYY");
Vast Vendace