Are you sure that parseDateString works on YYYY-MM-DDThh:nn:ss?  My experience has been not…


From: [email protected] [mailto:[email protected]] On Behalf Of Manish Jethani
Sent: Saturday, June 25, 2005 9:41 AM
To: [email protected]
Subject: Re: [flexcoders] Flex, C# Web Services, and Dates

 

On 6/25/05, Matthew Shirey <[EMAIL PROTECTED]> wrote:

[snip]

>  <StartDate>1974-01-26T00:00:00</StartDate>

>  Now I'm assuming that this is not the format Flex expects for a date?  If
> not, I guess it's easy enough to make my own date parser, but it seems like
> this should just work.

You don't have to make your own parser.

  import mx.formatter.DateFormatter;
  var dt:Date = DateFormatter.parseDateString("1997-07-16T19:20:30.45+01:00");






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




Yahoo! Groups Links

Reply via email to