如何在Objectiveite中使用Objective C获取datetime列?
我有4个字段的表:pk,datetime,value1和value2.pk(主键),value1而且value2是整数所以我用:
int value1 = sqlite3_column_int(statement, 2);
int value1 = sqlite3_column_int(statement, 3);
Run Code Online (Sandbox Code Playgroud)
但是我应该用datetime什么呢?