0
How to convert "2020-05-06T17:48:38.002Z" to 5 Jun 2020 using JS
How to convert "2020-05-06T17:48:38.002Z" to 5 Jun 2020 using JS
2 Réponses
0
d = new Date("2020-05-06T17:48:38.002Z")
alert(d.getDate() + " " + d.toLocaleString('default', { month: 'long' }) + " " + d.getFullYear());
0
Perfect Thanks