Welcome to yet another set of format strings. What you want is "JJ" (0-23) instead of "HH" (1-24).
-- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -----Original Message----- From: George <[EMAIL PROTECTED]> Reply-To: [email protected] To: [email protected] Subject: [flexcoders] DateFormatter Bug Date: Tue, 17 Jun 2008 16:18:05 -0000 Can anyone confirm this bug for me? I have a static method to convert a date to an ISO date string. Here's the method: public static function dateToISO(date:Date):String { var iso:String; var localeString:String; var df:DateFormatter = new DateFormatter(); df.formatString = "YYY-MM-DDTHH:NN:SSZ"; iso = date.toUTCString(); localeString = df.format(iso); return localeString; } I know it could be more efficient, but I have each variable set up so that I can check it's value in the debugger. When the date.toUTCString() resolves the date: iso = "Tue Jul 1 00:02:00 2008 UTC" after the df.format(iso); localeString = "2008-07-01T24:02:00Z" Note the hour == "24", it should be "00".

