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
  • 22,934
  • 9
  • 44
  • 60
Rahul
  • 2,261
  • 6
  • 31
  • 59

0 Answers0