How get datetime column in sqlite objecite-c
- by Undolog
Hi,
How do you get a datetime column in sqlite objective-c ?
I have a table with 4 fields: pk, datetime, value1 and value 2. pk (primary key), value1 and value2 are integer so I am using:
int value1 = sqlite3_column_int(statement, 2);
int value1 = sqlite3_column_int(statement, 3);
But what should I used for datetime?
Thx