Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SQL 语句:SELECT julianday(strftime('%Y-%m-%d','2010-11-28 20:50:30')) FROM TABLE
Coredata中如何使用Sqlite函数??
只需使用带有适当谓词的获取请求:
[NSPredicate predicateWithFormat:@"julianDay = %@", aDate];