24/August/2016 12:44 AM Not valid in Safari on Mac <p>I have done quite a bit to make sure the date my date picker creates is compatible for being converted into a javascript Date object. I followed the advice on this stack overflow entry: <a href="http://stackoverflow.com/questions/4310953/invalid-date-in-safari">Invalid date in safari</a> and removed dashes from the string using: new Date('24-August-2016 12:44 AM'.replace(/-/g, "/")); That made things compatible with every other operating system and browser, except browsers on a Mac. It still seems safari does not like the full month name in the string. What is the recommended approach to getting safari to recognize the string as a date if I am forced to use that format?</p>