forum

Home / DeveloperSection / Forums / Objective-C NSDate type and SQLite's DATETIME type?

Objective-C NSDate type and SQLite's DATETIME type?

Tarun Kumar243621-Sep-2015

In objective-C I was trying to map a sqlite3 table, its one of the attribute is 'completed_at' and its type defined as DATETIME.

I want to create a property on my objective-C class (which inherits from NSObject) that will map well to the 'completed_at' attribute.

Objective-C has an NSDate type but I'm not sure if that will map directly?

Updated on 22-Sep-2015

Can you answer this question?


Answer

1 Answers

Liked By