Hi Tom,
<mx:DateFormatter id="df" formatString="YYYY-MM-DD"/>
<mx:Text text="{ df.format(object.myDate) }"/>
-TH
--- In [email protected], Tom McNeer <tmcn...@...> wrote:
>
> This seems so simple, yet I can't figure it out -- nor can I find
guidance
> from the docs or from Google.
>
> I want to format a date which is being returned from a RemoteObject
call.
> The object created from the service call is bindable, so I can display
the
> object.myDate as it changes.
>
> But I need to format the date after it changes. And I'd prefer to do
it
> within my view, rather than the model.
>
> Do I need to create a separate listener for the change event on the
bindable
> object somehow, or is there a simpler way?
>
> --
> Thanks,
>
> Tom
>
> Tom McNeer
> MediumCool
> http://www.mediumcool.com
> 1735 Johnson Road NE
> Atlanta, GA 30306
> 404.589.0560
>