Question

I am having a date column in my table and I want to fetch that in iPhone application, I use following method to fetch values:

objPlayer.type = sqlite3_column_int(selectstmt, 1);

Now I can't find something like sqlite3_column_date.

Which is the method I can use for this purpose.

Was it helpful?

Solution

You can use sqlite3_column_text() since sqlite3_column_date() is the same.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top