It is on objective c soma Date and time format? Then i'm using:
date1 becomes = 2011-02-16 10:00:00 GMT. So i can not use NSDate for date and time?
Code:
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setDateFormat:@"yyyy-MM-dd HH:mm:ss"];
NSDate *date1 = [dateFormatter dateFromString:@"2011-02-16 12:00:00"];
Last edited by a moderator: