Possible Duplicate:
Date to String <-> String to Date
I have a date in String form:
"Tue Sep 25 12:24:18 GMT+0530 2012"
How can I convert this String into a Date object?
var d:Date = new Date();
d.setTime(Date.parse(str));
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With