Search code examples
javascriptdatetimetimedate-conversiondate-parsing

Convert nonstandard date with short month to timestamp


I have unfortunetly a nonstandard date

Jul-23-2017

Is there any way to convert it to a unix timestamp in javascript?


Solution

  • new Date("Jul-23-2017").getTime();