<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> [Bindable] public var sDate:String = "12/01/10 12:42"; </mx:Script> <mx:DateFormatter id="fmtDate" formatString="MM.DD.YY" /> <mx:Label text="Formatting the Date as a String: {fmtDate.format(sDate)}" /> </mx:Application>