JavaScripts 3 bulan Daterange

var d = new Date("octomber 25, 2021");
console.log(d.toLocaleDateString());
d.setMonth(d.getMonth() - 3);
console.log(d.toLocaleDateString());
 Run code snippet
 
Fierce Finch