I need to create a new date from a string in the format: dd-M-yyyy
Example:
var dateStr = '16-Sep-2012'; var date = new Date(dateStr);
However, IE is not very happy with this and considers date to be NaN . Anyone recommend me or give me a reliable parser for this? 10x for your help, BR
source share