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 date'
My question is what is the recommend approach for storing this information in a table?
The properties are represented as NSDate in my application but I am unsure how to represent this information in my table.
It appears that SQLite3 provides a DATETIME type but does not have a native understanding of how to parse this information.
Any help would be much appreciated.
Thanks in advance.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…