I have this date that I'm getting from XML,
2009-11-05T02:15:03.000Z
How would I change it to
11 May 2009
I found a way to remove the .000Z so I only have this left
2009-11-05T02:15:03
Any help is greatly appreciated
I have this date that I'm getting from XML,
2009-11-05T02:15:03.000Z
How would I change it to
11 May 2009
I found a way to remove the .000Z so I only have this left
2009-11-05T02:15:03
Any help is greatly appreciated
The "proper" way would be to parse the original string to a date using an NSDateFormatter
configured with the format used to generate the date in XML, then use a second NSDateFormatter
with the format style you want to use to format the parsed date.