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

19th May 2020, 2:45 PM
Rajesh Yandrathi
Rajesh Yandrathi - avatar
2 Respostas
0
d = new Date("2020-05-06T17:48:38.002Z") alert(d.getDate() + " " + d.toLocaleString('default', { month: 'long' }) + " " + d.getFullYear());
19th May 2020, 4:23 PM
Manu_1-9-8-5
Manu_1-9-8-5 - avatar
0
Perfect Thanks
20th May 2020, 8:41 AM
Rajesh Yandrathi
Rajesh Yandrathi - avatar