Hi List, the DateFormatter adds one hour to my time output in GMT+0100 (Germany). Is this desired behavior? Looks like a bug to me.
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="onCreationComplete()"> <mx:Script> <![CDATA[ import mx.formatters.DateFormatter; private var now:Date = new Date(); private var timeFormatter:DateFormatter = new DateFormatter(); private function onCreationComplete():void { timeFormatter.formatString = "HH:NN:SS"; nowString.text = "nowString: " + now.toString(); utcString.text = "utcString: " + now.toUTCString(); fromDate.text = "fromDate: " + timeFormatter.format(now); fromString.text = "fromString: " + timeFormatter.format(now.toString()); fromLocaleString.text = "fromLocaleString: " + timeFormatter.format(now.toLocaleString()); fromUTCString.text = "fromUTCString: " + timeFormatter.format(now.toUTCString()); } ]]> </mx:Script> <mx:VBox> <mx:Label id="nowString" selectable="true"/> <mx:Label id="utcString" selectable="true"/> <mx:Label id="fromDate" selectable="true"/> <mx:Label id="fromString" selectable="true"/> <mx:Label id="fromLocaleString" selectable="true"/> <mx:Label id="fromUTCString" selectable="true"/> </mx:VBox> </mx:Application> output: nowString: Thu Nov 23 13:26:20 GMT+0100 2006 utcString: Thu Nov 23 12:26:20 2006 UTC fromDate: 14:26:20 fromString: 14:26:20 fromLocaleString: 14:26:20 fromUTCString: 13:26:20 tia, O.

