How can I parse dates of the format Jul 2016
to Unix epoch in Firefox? The Date.parse()
method works in Chrome but not in Firefox. Is there a solution for this browser?
I tried using the momentJS library, but moment(dateValue).unix()
is not working as expected. Is there a way to resolve this issue without resorting to RegEx or other unreliable methods?