0 Replies Latest reply on Apr 7, 2008 10:36 PM by eztaburnak

    Date Formatting

      Hi guys!!,

      I need some advice here. I have this data in my webservice.

      Sun Apr 1 00:00:00 GMT-0400 2007

      I want to display this in the datagrid with a format of MM/DD/YYYY

      <mx:AdvancedDataGridColumn headerText="Date" dataField="date">
      <mx:DateFormatter id="dateFormatter" formatString="MM/DD/YYYY" />

      it works fine but the results is not what i expected it displays 04/01/400 instead of 04/01/2007.