<mx:DateFormatter id="time" formatString="MMM DD,YYYY H:NN"/> <mx:Label text="Date:"/> <mx:Label text="{time.format('Thu Jun 03 18:13:12 CDT 2010')}" fontWeight="bold" y="10" width="318"/>
<esri:infoWindowRenderer> <fx:Component> <mx:DateFormatter id="myDateFormatter" formatString="DD/MM/YY"/> <mx:VBox backgroundColor="0xffffff" color="0x444444" label="Crash Attributes"> <mx:Label text="Severity: {data.SEVERITY_T}"/> <mx:Label text="Date: {myDateFormatter.format(data.DATE)}"/> <mx:Label text="Speed Induced: {data.SPD_IND}"/> </mx:VBox> </fx:Component> </esri:infoWindowRenderer>