Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 138192

Date Split and remove of timezone

$
0
0

I have array which contains the following the dates

{
 Mon Feb 17 2020 00:00:00 GMT+0530 (India Standard Time)
,Tue Feb 18 2020 00:00:00 GMT+0530 (India Standard Time)
,Wed Feb 19 2020 00:00:00 GMT+0530 (India Standard Time)
,Thu Feb 20 2020 00:00:00 GMT+0530 (India Standard Time)
}

How can i remove the time zone and convert this date to ("date/month/year") i need these with the (/) and return them to a grid column wise. example like this

 -               |[17/02/2020]   |   [18/02/2020]  |  [19/02/2020]
 1 -----         |     -         |    -            |  -
 2 -----         |     -         |    -            |  -

Viewing all articles
Browse latest Browse all 138192

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>