Re: Converting non-English date string to NSDate

2009-03-31 Thread Nick Zitzmann
On Mar 31, 2009, at 1:33 PM, Kyle wrote: Is there better way to convert string date values to NSDate values, especially non-English string date values? You could try using NSDateFormatter in 10.0 behavior mode to try and make sense of the natural language string, but if that doesn't work,

Converting non-English date string to NSDate

2009-03-31 Thread Kyle
My app imports tab-delimited data, and to convert a string date value to a NSDate value, it uses this method: NSDate *theDate = [NSDate dateWithNaturalLanguageString:theStr locale:[[NSUserDefaults standardUserDefaults] dictionaryRepresentation]]; This works fine for English date strings, b