1

I am trying to convert Date using Javascript Date() method. But getting NaN when trying to parse it. Below is the code I am trying with.

let tmp="29/02/2020 15:27:32"
console.log(Date.parse(tmp));
VLAZ
  • 26,331
  • 9
  • 49
  • 67
Rahul
  • 2,309
  • 6
  • 33
  • 60

0 Answers0