I have a text field that shows a datepicker once tapped. (I followed these instructions)
Once the text field is tapped the Datepicker appears with the correct date and time. If I changed the day the textfield's date-text shows the correct date from the datepicker, but if I change the hour or minute of the datepicker, the textfield shows one hour delay. I tried using
myDatePicker.timeZone = [NSTimeZone systemTimeZone];
but unfortunately it didn't worked. I could manually* add an hour to it, but I don't really know, if it will be an appropriate solution. I would appreciate if somebody has a better solution to this issue. Thank you very much in advance.