Setting NSDate in a “TimePicker” with 24 - 12 hours format xcode
I'm working with some NSDate objects, and well, I use my iPhone with 24 hrs format, so when I was testing my app, everything went fine, but, one of my friends tried the app on his iPhone, but he uses 12hrs format, after some research I found out that the problem was the date, and I have no idea why I use this to set a date picker and a time picker, so I read some values from a database (yes, I've checked the values and they are correct, it is not a value-issue), so all this data is formatted and put together as a NSDate, then, I set the date picker and time picker with this date I just created