In Typescript
new Date("12-03-2018")
returns me Dec 03 2018.
But I was expecting Mar 12 2018
Is there any way to specify the date format as DD-MM-YYYY, seems it is taking it as MM-DD-YYYY
In Typescript
new Date("12-03-2018")
returns me Dec 03 2018.
But I was expecting Mar 12 2018
Is there any way to specify the date format as DD-MM-YYYY, seems it is taking it as MM-DD-YYYY