Formatter will "do that" only for displaying your date. And how it comes out
of database depends on database interface. In general you receive some
standardized date/time. If you want to get specifically formatted date out
of the database you should ask database to do it. Though I can't imagine why
one may need that kind of formatting.

R.

On 20 Mar 2007 01:47:16 -0700, flexjeremy <[EMAIL PROTECTED]> wrote:

  Hi guys,

I am new to flex and have been having a huge learning curve. So be
gentle. I'm kinda new to REAL OO. But I know CF very well. So with
that said I'm stuck on dates.

I am trying to format a date coming out of a database so it will
look pretty. i.e. dd/mm/yyyy

I have an <mx:datefield id="DateIn"
text="remoteService.qryDrawdown.lastResult[0].DateIn"
formatString="DD/MM/YYYY"></mx:datefield>

Now I know that the formatString paramater does that for when you
choose it but how do you format it coming out of the database.
Currently its "Tue Feb 28 00:00:00 GMT" etc etc.

I found the <mx:dateFormater> tag but haven't been able to get it
working correctly.

Any Advise would be great!!

Jeremy

Reply via email to