iPhone, Xcode, Objective-c:
NSDateFormatter *df = [[[NSDateFormatter alloc] init] autorelease];
[df setDateFormat:@"yyyy-MM-dd HH:mm:ss"];
NSString *s = @"1902-02-01 01:00:00";
NSDate *aDate = [df dateFromString:s];
NSLog(@"(%@)", aDate);
// (1902-02-01 01:00:00 -053211)
Wow.. 532 hour timezone offset?