What's the simplest way for users to change the 'time' part of a 'date/time' value?

Update: Discussion continued here: How to allow users to edit a time?

I don’t want to show users the date - just the time, in a way that they can easily edit.

(Apologies I asked a similar question last night, but got no responses, so trying to simplify my question here.)

Okay, I figured out a reasonable way to do it…

  1. Have an input for the hour only:
    05%20PM

  2. When that input’s value is changed, run this action:
    24%20PM

  3. Repeat steps 1 and 2 for the minute.

If you’re using 24-hour time, you can stop there. If you want to use 12-hour time, I was hoping I could make an am/pm dropdown box, but I don’t know how to then use that to update the time. Any ideas?

Edit: The above solution ended up having a couple of issues. Discussion continued here: How to allow users to edit a time? - #5 by emasl

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.