I need to be able to select from a list of 12-hour times (ex: 03:30 PM) and save it into an array and then sort it based on time. This will also be stored in localstorage. Now, I've tried many different ways and it always seems there is some difficulty regardless of the method I choose.
My question is what is the BEST way to work with time? If I use 24 hour time, I am able to sort easily in the array, but then I have to convert it to 12 hour time when displaying to user. Maybe I'm just over-thinking this? lol, I'm just getting tired of changing things around when I'm sure one of you has a better way of manipulating time.
Thanks for any input!