Take a look at NSDateFormatter . In particular, take a look at the dateFromString: and stringFromDate: methods. You will need to convert the original string to NSDate, and then convert the NSDate to another string.
One tip for using NSDateFormatter: be sure to set the locale. If you do not set the language manually, it has an error regarding the 12/24 hour clock settings. The sample code on the page I'm linked to shows how to set the locale.
Amy worrall
source share