Format daty francuski JS

const start = Date.now();
const date = new Date(start);
const formatted = date.toLocaleDateString("fr-FR")

setTimeout(() => {
	console.log(formatted);
}, 2000);
// output after two seconds: "02/09/2021"
Silly Sheep