|
|
#1 |
|
Core Data, get records by date, regardless the time
I have a project that uses RestKit & Core Data to manage my data.
What I'm trying to do is to get all the records for a specified date regardless the time. I have a Data attribute in Core Data which has dates stored like 2011-11-14 13:30:00. I don't care about the time for now, I only want the records with the same date as 2011-11-14. How do I do this? |
|
|
|
0
|
|
|
#2 | |
|
Quote:
|
||
|
|
0
|
|
|
#3 |
|
That's how I fixed for now. But isn't there an easier way like: day(myDate) == day(myCompareDate)?
|
|
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| thread | Thread Starter | Forum | Replies | Last Post |
| core data binding not working | Javajax | Mac Programming | 3 | Jul 10, 2011 01:23 PM |
| Reading Date from database in Ipad | ashwinr87 | iPhone/iPad Programming | 0 | Apr 25, 2011 11:11 AM |
| How do I count the number of child entities with a specific value? | Mr Skills | iPhone/iPad Programming | 2 | Apr 8, 2011 03:49 PM |
| Help Needed - Xcode 4 Options: Use Core Data Include Unit Tests | Mitch1984 | iPhone/iPad Programming | 3 | Feb 26, 2011 03:42 PM |
| Core data, reacting to a change in the interface | Chirone | Mac Programming | 0 | May 25, 2009 05:02 PM |
All times are GMT -5. The time now is 02:10 AM.







Linear Mode

