0

There is the following code:

new Date("2000-01-01T18:00:00.000Z")

I got:

Date {Sat Jan 01 2000 21:00:00 GMT+0300 (MSK)}

But I need to get:

Date {Sat Jan 01 2000 18:00:00}

i.e. time without specific timezone. How can I do it? Thanks!

malcoauri
  • 11,904
  • 28
  • 82
  • 137

0 Answers0