Is there any way to parse a string in the format HH:MM into a Date (or other) object using the standard libraries?
I know that I can parse something like "9/17/2008 10:30" into a Date object using
var date:Date = new Date(Date.parse("9/17/2008 10:30");
But I want to parse just 10:30 by itself. The following code will not work.
var date:Date = new Date(Date.parse("10:30");
I know I can use a custom RegEx to do this fairly easily, but it seems like this should be possible using the existing Flex API.