0

I'm trying to parse new Date("2021/09/21 18:59:00.000000") but getting invalid Date The problem occurred in safari and working fine in chrome. Any Solution?

Álvaro González
  • 142,137
  • 41
  • 261
  • 360
MhkAsif
  • 537
  • 3
  • 18

1 Answers1

-4

Just use:

new Date("2021/09/21 18:59:00")

and then add milliseconds.

camille
  • 16,432
  • 18
  • 38
  • 60
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Jan 16 '22 at 10:44