我设立了一栏,即INTEGE,这就是我如何在表格中插入斜点日期:
ContentValues vals = new ContentValues();
vals.put(Column._CREATED_DATE, "strftime( %s , now )");
db.insert(Table.ARTICLE.name, null, vals);
毋庸置疑,他插入strftime ( %s , now )
string into INTEERT栏!
什么?
EDIT:当我操作inert into article (created) Value (strftime("%s”,”now)
in ankouite browser时,插入了适当的惯性价值......