0

From API I am getting an datetime which is in invalid format. So how can I convert this invalid date to valid date format.

new Date('02-11-2021 07:11 PM')

Can anyone help me how to solve the problem

mnu-nasir
  • 1,642
  • 5
  • 30
  • 62

0 Answers0