Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1.create a date with milliseconds passed
var t:Date=new Date(2009,08,17,15,39,20,789);
2. check date.toString(), toUTCString()
->milliseconds not showing up
Thu Sep 17 15:39:20 GMT-0400 2009
Thu Sep 17 19:39:20 2009 UTC
3. so when I use
<mx:DateFormatter id="dateFormatter" formatString="EEEE, MMMM DD, YYYY at HH:NN:SS:QQQ A" />
to format the date,
formattedDate.text += dateFormatter.format(date.toString());
or formattedDate.text += dateFormatter.format(date.toUTCString());
the result is:
Thursday, September 17, 2009 at 15:39:20:000 PM
I am expecting:
Thursday, September 17, 2009 at 15:39:20:789 PM
Expected Results:
milliseconds should show up
Workaround (if any):