Use DateField to let user choose date
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> public function showMsg(msg:String):void{ mx.controls.Alert.show(msg); } </mx:Script> <mx:Panel title="Profile" verticalCenter="0" horizontalCenter="0"> <mx:DateField text="12/05/2010" id="thisDateField" change="showMsg(thisDateField.selectedDate.toString())" /> </mx:Panel> </mx:Application>