NSDate *datenow = [NSDate date];
NSTimeZone *zone = [NSTimeZone systemTimeZone];
NSInteger interval = [zone secondsFromGMTForDate:datenow];
NSDate *localeDate = [datenow dateByAddingTimeInterval: interval];
NSString *timeTamp=[NSString stringWithFormat:@"%ld",(long)[localeDate timeIntervalSince1970]]