JS obtient la date locale

var now = new Date();
console.log(now.toLocaleDateString()); // expected output: 2/26/2021 (MM/DD/YYYY)
TheRealJoe24