When the time is past 1:00 PM in the app that I'm building, the TimePicker only seems to use 24 hour time. I've tried using previous forum posts to figure out what I'm doing wrong, but to no avail. Any help would be appreciated. Thanks!
I apologize in advance if there's an 'obvious' mistake - I'm kinda new to coding.
17 in 24 hour time format is 5 pm in 12 hour format. You can adapt the example code to provide AM and PM flags depending on how you want to use the information in your app.