开发者

Underlying value of an NSDate (DateValue)

To debug a DB app I need to verify the datevalue against the value that arrives in my SQLiteDB. Is there a way to show the double(?)-value of an NSDate (in开发者_运维知识库 code covert it to a double?)


Apparently solution depends on what value is stored in your database.

Have a look at -timeIntervalSince1970 method - it may do for you as timeintervals are often used for storing date values in db.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜