I am developing an iPhone application that persists data to a SQLite3 database.
For each row I persist I wish to include a \'created date\' and a \'last modified da
I typically use a double, something like:
sqlite3_bind_double(statement, index, [dateObject timeIntervalSince1970]);
where dateObject is an NSDate*. Then, when getting the data out of the DB, use
[NSDate dateWithTimeIntervalSince1970:doubleValueFromDatabase];