I need to convert an NSDate to an NSString and then take this NSString and convert it back to an NSDate with the full time and date – what is the best format to store this?
Share
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.
Convert to NSString,
first NSTimeInterval then create NSString object and do what you want.
Convert to NSDate,
first convert it to NSTimeInterval(double value) and create a NSDate object