Paul,

There's a chapter on using the formatters provided with Flex in the
Developing Flex Applications documentation. There's great examples of using
the tags and various formatting strings. That being said, here's a general
snippet that should point you in the right direction.

<mx:DateFormatter id="pdob"/> 
<mx:TextInput text="{pdob.format( appDetail.PDOB )}"/>

Hope this helps,
Kevin

> -----Original Message-----
> From: Paul Beardsell [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, April 28, 2004 6:46 AM
> To: Flex
> Subject: [flexcoders] Date Format
> 
> Hi Guys,
> 
> Any ideas how to format a date in Flex?
> 
> <mx:TextInput text="{appDetail.PDOB}" width="100"/> currently 
> displays as Fri Dec 28 00:00:00, would like it as dd/mm/yyyy
> 
> Cheers
> 
> Paul
> 
> 
> ------------------------ Yahoo! Groups Sponsor 
> ---------------------~--> Buy Ink Cartridges or Refill Kits 
> for your HP, Epson, Canon or Lexmark Printer at MyInks.com. 
> Free s/h on orders $50 or more to the US & Canada.
> http://www.c1tracking.com/l.asp?cid=5511
> http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/nhFolB/TM
> --------------------------------------------------------------
> -------~->
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 


Reply via email to