Hi.
In my Application i am using the UIdatePicker with fallowing code.
UIDatePicker *datePicker=[[UIDatePicker alloc] initWithFrame:CGRectMake(0, 0, 480, 216)];
datePicker.timeZone = [NSTimeZone defaultTimeZone]; datePicker.datePickerMode=UIDatePickerModeDate; datePicker.date=[NSDate date]; datePicker.maximumDate=[NSDate date]; [datePicker addTarget:self action:@selector(pickerValueChanged:) forControlEvents:UIControlEventValueChanged];
In simulator UIDatepicker display as "MM/DD/YYYY" and in device "DD/MM/YYYY" format.
But i wan to display like "MM/DD/YYYY" in device.
Can any one help how to display it as "MM/DD/YYYY" format.
thanks in advance.