Hello! I have a quick question. I can't seem to convert a date string which is in the IETF syntax into a Date object. The following code does not work:
mydate returns an error "Invalid Date".Code:var mydatestring = "Tue Apr 17 08:59:17 GMT-0500 2007"; var mydate = new Date(mydatestring );
Does anyone know what the problem is?