Hey folx. I have a date string like this "10/15/2003".
How do I turn that into a date object flash can use?
Here is the code I have to show you what I mean:
var s_date = "10/15/2003";
//i want to get s_date into format you see below
var myDate = new Date(2003,10,15);
As you can see above, I have 10/15/2003 in a string and sure I could write some string manipulation script to parse and grab each of the elements using the "/" as a delimiter but is there not a more elegant way? A function FlashMX already has for turning that into the date format of 2003,10,15?
If so, please tell me and show me the syntax.