I'm trying to figure out if I can change the way a HTML5 Time input passes its value. I have the following form:
<form action="action_page.php">
Select a time:
<input type="time" name="usr_time">
<input type="submit">
</form>
If I enter, for example, "8:00PM" it returns the following value:
20:00
Is there a way to change the way the value comes out to produce the following:
8:00PM
Or perhaps even just
8:00
Thanks,
Connor