I have a problem while retrieving DateTime from sqlite3.
For Example to retrieve an int value we use
sqlite3_column_int(selectstmt, 1);
In the same way what function I have to use to retrieve the DateTime and how to convert it to NSDate.
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.
You have to retrieve it as text
sqlite3_column_text, and convert it to date, using proper date format, if you want.