Convert String to Date

To convert string to date, first convert the date string into Milliseconds using the Date.parse method. Then you can convert the seconds to Date object

Ex: var dateInMilliseconds:Number = Date.parse("Wed May 4 15:30:17 GMT-0700 2011");
var curDate:Date = Date(dateInMilliseconds);