Hello,

I have a webservice which loads from a database with ASP.NET C#. Dates
are converted into the following format:

ToString("yyyy/MM/dd HH:mm:ss")
For instance: 2002/09/01 00:00:00

Within Flex they are assigned to a DateField with: 

var x:XML = new XML(WsImports.WsGetImportData.lastResult);
dfArrival.selectedDate = x.result[0].arrivaldate[0];

But I get the error:
cannot convert [EMAIL PROTECTED] element <arrivaldate> to Date

Any ideas what would be the correct dateformat to use them in Flex ?

Thanks a lot,
Frank




--
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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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/
 

Reply via email to