I am retrieving a twitter feed using a php file and it is returning the XML, however the date XML field is..
<created_at>Sun Nov 08 07:26:07 +0000 2009</created_at>
I am calling this inside flex from my
[Bindable] public var twitterData:XMLList;
using {data.created_at}
how would I format this to read as a normal date? (i.e Sun Nov 08 2009) or similar.
EDIT:
i have done the following but now nothing is showing, i believe the dateformatter is only for dates whereas i have allot more info in the string.
<mx:DateFormatter id="formatDateTime" formatString="DD/MM/YYY" />
<mx:Label width="100%" text="{formatDateTime.format(data.created_at)}" fontWeight="bold" color="#FFAE00"/>