Time Info: Start Time Field: Year_of_Trans End Time Field: N/A Track ID Field: N/A Time Extent: [2010/01/01 08:00:00 UTC, 2015/01/01 08:00:00 UTC] Time Zone: Pacific Standard Time Respects Daylight Saving: False Time Interval: 1 (esriTimeUnitsYears) Export Options: Use Time: True Time Data Cumulative: False Time Offset: 0
Solved! Go to Solution.
if (dateFormat){
myDateFormatter.formatString = dateFormat;
timeSlider.setStyle('dateFormat',dateFormat);
}
<fx:Declarations>
<!--- @private -->
<mx:DateFormatter id="dateFormatter" formatString="{hostComponent.getStyle('dateFormat')}"/>
</fx:Declarations>