Tag Archive for 'replace()'

02
Feb

Parsing ISO dates with Flex and ActionScript

The following example shows how you can parse an ISO format date (for more information, see http://www.w3.org/TR/NOTE-datetime) and convert it into a Date object in ActionScript using the String class’s replace() method and the static Date.parse() method.

Full code after the jump.

Continue reading ‘Parsing ISO dates with Flex and ActionScript’