I need only DD/ MM in my picker for getting Birthday
I am capable to get MM/DD/YYYY through this code
datepickerView = [[UIDatePicker alloc] initWithFrame:CGRectMake(0, 40, 0, 0)];
datepickerView.datePickerMode = UIDatePickerModeDate;
[datepickerView addTarget:self action:@selector(changedDate:) forControlEvents:UIControlEventValueChanged];
[actionSheet4 addSubview:datepickerView];
[datepickerView release];
could you please help me out to get only MM/DD or DD/MM through Date Picker
You could use the following code: