We all know that trace(new Date()) traces the date as a string that looks like “Mon Jul 12 13:20:09 GMT+0800 2004”
How to convert this String back to Date? There is no built in method, so I’ve written this function to do that.
Usage:
You may download the ‘getDateFromString.as’ from here