Date: 2025-04-25 08:32:37
Score: 1.5
Natty:
noneEuropeanDateformat = new Date();
noneEuropeanDateformat =
noneEuropeanDateformat.toLocaleDateString();
soonEuropeanDateformat =
noneEuropeanDateformat.split('/');
europeanDateformat =
soonEuropeanDateformat[1] + "." +
soonEuropeanDateformat[0] + "." +
soonEuropeanDateformat[2];
alert("\nNone European date format = " + noneEuropeanDateformat + "\n\nTodays date in European date format: " + europeanDateformat + "\n");
Reasons:
- No code block (0.5):
- Low reputation (1):
Posted by: Kjell Svendsen