Hi,

The help docs recommend something like this:

<mx:DateFormatter id="dfconv" formatString="YYYY/MM/DD"/>
<mx:Script>
    <![CDATA[
        private function formatDate(date:Date):String
        {
            return dfconv.format(date);
        }        
    ]]>
</mx:Script>

<mx:DateField id="df" labelFunction="formatDate" 
parseFunction="null"/>

-TH

--- In [email protected], "Bas J. Brey" <[EMAIL PROTECTED]> wrote:
>
> I'm having problems when I set the selectedDate of a datefield.
> 
> When I set it dynamicly the formatter works, but when I click on 
the
> datefield the month and day are switched.
> 
> This is a bug cause I verified the input date, and it works with 
days above
> 12!
> 
>  
> 
> Anyone got a clue on how to solve this?
>







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

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

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