I too have an issue with formatting dates in the Flex 3.3 attribute table widget. In my case, all the dates shown in the attribute table are one day earlier than the date that I have in the SDE geodatabase. So for example, if a date in the GDB is 1/10/2012, then the date that shows in the Flex attribute table is 1/09/2012.
My GDB has editor tracking enabled, which assigns UTC dates to the edit_date field when a feature is edited. But this does not affect other date fields that I have in the feature class.
I had the same one-day-earlier problem for date fields in several of my pop-ups. I was able to solve that problem by adding the following to my popup.xml:
<field name="Cvydate"><format dateformat="shortDate" useutc="true"/></field>
I then tried the same thing in my AttributeTableWidget.xml file, but it doesn't have any effect on the date field. Here's the section from my XML file:
<layersettings>
<layer name="Surface (USFWS)">
<fields>
<field name="Refuge" alias="Refuge"/>
<field name="NWR_Unit" alias="Unit"/>
<field name="LRS_Tract" alias="LRS Tract"/>
<field name="OWNTYP" alias="Owner Type"/>
<field name="Casetype" alias="Case Type"/>
<field name="Surstat" alias="Surface Status"/>
<field name="Serial_full" alias="Serial No."/>
<field name="Cvyno" alias="Conveyance No."/>
<field name="Cvydate"><format dateformat="shortDate" useutc="true"/></field>
<field name="Acres_LGL" alias="Acres (Legal)"/>
<field name="Acres_GIS" alias="Acres (GIS)"/>
<field name="USS" alias="USS No."/>
<field name="Lot" alias="Lot"/>
<field name="Block" alias="Block"/>
<field name="Survey_Tract" alias="Tract"/>
<field name="Notes" alias="Notes"/>
</fields>
I've highlighted the relevant line in red text above. I've tried both useutc="true" and useutc="false", but neither one has any effect. The date shown in the Flex attribute table is still one day earlier than the correct date that's in the SDE GDB.
Am I putting the field formatting tag in the proper place in the AttributeTableWidget.xml? I've tried putting it before the <layersettings> tag but that didn't work either. Or do I just have a simple syntax error somewhere?