Posts tagged as:

toUTCString()

Parsing ISO dates with Flex and ActionScript

by Peter deHaan on February 2, 2008

in ActionScript,Date

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.

[click to continue…]

{ 11 comments }