Formatting dates using the DateFormatter
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> private function doLabel(item:Date):String { return dateFormatter.format(item); } </mx:Script> <mx:DateFormatter id="dateFormatter" formatString="MMM D, YYYY"/> <mx:DateField labelFunction="doLabel" firstDayOfWeek="{Days.MONDAY}" /> </mx:Application>