NSDateFormatter * df = [[NSDateFormatter alloc] init];
df.dateStyle = NSDateFormatterMediumStyle;
txtSelectNiche.font = [UIFont boldSystemFontOfSize:17.0];
[txtSelectNiche setInputView:(UIView*)[df stringFromDate:datePicker.date]];
txtSelectNiche.text = [NSString stringWithFormat:@“%@”, [df stringFromDate:datePicker.date]];
txtSelectNiche.textAlignment = UITextAlignmentCenter;