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

    Date Formatting

    eztaburnak
      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:formatter>
      <mx:DateFormatter id="dateFormatter" formatString="MM/DD/YYYY" />
      </mx:formatter>
      </mx:AdvancedDataGridColumn>

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

      Thanks.