Any ideas how I can change the time from 24hr time to 12hr time, and vise versa.
Input on a form element would be in 12hr time, would have to format it to 24hr time to store it in the TIME data type. Output would be in 24hr time would like to display it in 12hr time on the page.
When someone enters a time, is there a checkbox or radio button to set whether or not the time is AM or PM? When the form is submitted, check the value of that variable and add 12 if it's set to PM.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.