Hi
 
thanks for the reply ,
yes i know it static , i just tried to change the format it uses to parse , ( thats why i wrote the formatString line)  
 
in your example how can you tell if the month is July or May ?
 
thanks
 
Shlomi
 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Tapper
Sent: Monday, July 04, 2005 00:32
To: 'flexcoders@yahoogroups.com'
Subject: Re: [flexcoders] parseDateString bug ???

parseDateString is a static method.  Try this instead:
Dumper.info("PARSING DATE-" +
mx.formatters.DateFormatter.parseDateString("07/05/2005 11:00 AM"));

At 01:32 PM 7/3/2005, Shlomi Cohen wrote:
>
>Hi
>
>i have the following code ,
>
><mx:DateFormatter id="df" formatString="MM/DD/YYYY" />
>....
>Dumper.info("PARSING DATE-" + df.parseDateString("07/05/2005 11:00 AM"));
>
>
>the result on Dumper screen is [INFO]: PARSING DATE-undefined instead of a
>valid date object.
>it seems like what ever i do i always get the undefined .
>
>i also saw
><http://livedocs.macromedia.com/flex/1/asdocs/mx/formatters/DateFormatter.html>http://livedocs.macromedia.com/flex/1/asdocs/mx/formatters/DateFormatter.html
>is this related ?  cause i managed to get the format from df  .
>
>
>any ideas how to solve this ?
>
>thanks
>
>
>Shlomi
>
>
>______________________________________________________________________
>This email has been scanned by the MessageLabs Email Security System.
>For more information please visit http://www.messagelabs.com/email
>______________________________________________________________________
>
>
>--
>Flexcoders Mailing List
>FAQ:
><http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt>http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>Search Archives:
><http://www.mail-archive.com/flexcoders%40yahoogroups.com>http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
>
><?---- LSpots keywords ?> <?---- HM ADS ?>
>
>----------
>YAHOO! GROUPS LINKS
>
>    *  Visit your group
> "<http://groups.yahoo.com/group/flexcoders>flexcoders" on the web.
>    *
>    *  To unsubscribe from this group, send an email to:
>    *
> <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
>
>    *
>    *  Your use of Yahoo! Groups is subject to the
> <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
>
>
>----------



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



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________


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