How get datetime column in sqlite objecite-c
Posted
by Undolog
on Stack Overflow
See other posts from Stack Overflow
or by Undolog
Published on 2009-11-10T21:54:14Z
Indexed on
2010/04/06
17:03 UTC
Read the original article
Hit count: 214
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
© Stack Overflow or respective owner