My NSDateFormatter is retuning nil. This is an example string that I want to parse: @"6/23/11 0:42"
and this is the format i am using: [dateFormatter setDateFormat: @"MM-dd-yy HH:mm"];
What am I doing wrong?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your date string has different format: @”MM/dd/yy HH:mm” – try to use it.