I have parsed .ics file and get the start date as string , the string contains value like this 20100803T130451Z (this is formated date string), I want to convert this string into my required string format ….
My required format of date string is (Tuesday – May 25,2010 (like this))
Can anyone help me? Thanks in advance…..
Ole is right, here some sample code.
This:
should do the conversion of the NSString to a NSDate. To then get your desired date format you can change the NSDateFormatters dateFormat. Like this:
That should work, although I did not test it but it will get you at least closer to the result.
have fun,
phil.