Does anybody know how to convert a DateTime from English to Spanish?
E.g convert:
December 07, 10:42AM
into
Diciembre 07, 10:42AM
Please help me. How to convert this?
Thanks in advance.
I tried this:
NSLocale *frLocale = [[[NSLocale alloc] initWithLocaleIdentifier:@"es"] autorelease];
NSLog(@"%@", [frLocale displayNameForKey:NSLocaleIdentifier value:@"December 07, 10:42AM"]);
// Value comes Null