When i call
NSDate *now = [[NSDate alloc] init];
to get the current date and time, I check it with:
NSLog(@"Date now: %@", now);
The displayed date takes one hour in the past.
2010-10-08 12: 04: 38.227 MiniBf [1326: 207] Now: 2010-10-08 11:04:38 GMT
Is my timezone incorrect somewhere, maybe?
Thanks!
Michael
datetime objective-c iphone nsdate nslog
Smikey
source share