In my website I am printing the date the html file was last editied at the end of each page, using this string:
Modified: ' + document.lastModified
The trouble with that is that it uses American date order m/d/yyyy. That is fine for people viewing the page in the US, but I want it to reflect the settings for the user's machine.
Is there a simple solution from the standard JS library?