This might be a silly question, but I can't seem to find the answer on here or in the documentation.
I want to convert an NSString such as @"9/22/2010 3:45 PM" to an NSDate.
I know to use NSDateFormatter, but the problems are
- The month could be one or two digits
- Likewise, the date could be one or two digits
- Hours could be one or two digits
- What do I do about AM/PM?