On 6/13/05, Rick Bullotta <[EMAIL PROTECTED]> wrote:
> Given a date/time value obtained via HttpRequest or a web service in ISO
> format (yyyy-MM-ddTHH:mm:ss), what is the based technique for parsing this
> to a Date object in ActionScript?
import mx.formatter.DateFormatter;
var s:String = DateFormatter.parseDateString("1997-07-16T19:20:30.45+01:00");
alert(s);
Works like a charm.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/