#import <Foundation/Foundation.h>

int main (int argc, const char * argv[]) {
	NSDate *theDate;
	theDate = [[NSDate alloc]initWithString:@"2009-1-05 00:00:00 +0900"];
	
	NSTimeInterval diff =[theDate timeIntervalSinceNow];
	int days = diff / 60 / 60 / 24;
	
	NSLog(@"Days: %d", days);
    return 0;
}
