I'm trying to extract the year from MPMediaItemPropertyReleaseDate in an MP3 file using iOS SDK 4.0 but it seems to always return Jan 1 1801 for the date. Does anyone know how to properly extract that from the returned NSDate? Here's what I'm doing:
NSString *locale = [[NSLocale currentLocale] localeIdentifier];
NSLog([[mediaItem valueForProperty:MPMediaItemPropertyReleaseDate] descriptionWithLocale: locale]);
// Always showing Thursday, January 1, 1801 2:15:58 AM GMT-4:56
Thanks in advance.