I want to parse a Date chosen by user:
var ds = \"11 / 08 / 2009\";
I use
var d = new Date(ds);
It gives
I have had success with DateJS. In particular, you would want to use parseExact, which allows you to provide a format string describing the meaning of each segment (so that you can map one segment to day and another to month).