I'm using FMDatabase as sqlite wrapper for my iOS app, there's one place where I have to extract a date. I go like that:
....
ac.date=[s dateForColumn:@"date"];
NSLog(@"Date %@", ac.date);
But debug output gives me the following: Date 1970-01-01 00:33:32 +0000 Even though I've got dates like 2012-03-03 in my database, what can be wrong? thanks