0

Say I have the following code:

const d = new Date('2020-06-09T16:56:43.333214Z')
console.log(d)

The output of the console.log is Tue Jun 09 2020 12:56:43 GMT-0400 (Eastern Daylight Time) How would I make the output equal to just Tue Jun 09 2020

svoruganti
  • 307
  • 1
  • 12

0 Answers0