To keep dates valid, the format which is used is `YYYY-MM-DD`. A function should be written to return the date as a local date string without the year. *Function to use: [Date.prototype.toLocaleDateString()](https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Objets_globaux/Date/toLocaleDateString).*
To keep dates valid, the format which is used is
YYYY-MM-DD. A function should be written to return the date as a local date string without the year.Function to use: Date.prototype.toLocaleDateString().