Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. COThank you for your help, Caleb!! I tried your suggestion 1., unfortunately without success. Regarding 2.: I just do logging of the date with no conversion at all. It seems that the date stored in Core Data is being converted in my current time zone when it is being read (I am based in GMT +2:00). How can I avoid this conversion, which actually changes the day? I do not care about the time component, I just need the date, which must stay constant in all time zones.
      singulars
    2. CONSDate stores date information independent of time zone. To make sense of a NSDate, you should use a date formatter to display your dates so that you can specify the time zone yourself. I suspect that when you log a date, NSDate's `-description` method probably uses the current time zone, but the date itself won't change (dates are immutable). So, again, use a date formatter if you want to display your dates in GMT.
      singulars
    3. COI am not sure if NSDate's -description method really uses the current time zone because I use similar code to generate an NSDate: `NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; [dateFormatter setLocale:[[NSLocale alloc] initWithLocaleIdentifier:@"en_US_POSIX"]]; [dateFormatter setDateFormat:@"yyy-MM-dd"]; [dateFormatter setTimeZone:[NSTimeZone timeZoneForSecondsFromGMT:0]];NSDate *date = [dateFormatter dateFromString:[csvLineItems objectAtIndex:0]];` to parse from a string.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload