For one of my inputs I want the user to be able to select a duration, which can be between 1 minute and 1 year

If they're working in the minute area it should be easy to select 1 vs 10 minutes. Easy to chose 1hr vs 4 hours. Easy to chose 1 day vs 2 days, etc...

I was thinking to use a horizontal slider but can't figure how to make it work across all these time frames.

The best I could come up with is 4 horizontal sliders, and let the user drag them to form the duration they want

minutes 1-60, hours 1-24, days 1-6, weeks 1-52

This isn't a super duper frequent site activity but this does seem cumbersome

Any other ways I might organize the user select to allow a user to chose anything time duration between a minute and a year?

New contributor
Joshua Ohana is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • 1
    May the user choose mixed parameters: 3 h 16 min?
    – Danielillo
    May 10 at 13:35
  • 2
    What about a number input and a dropdown (minutes, hours, days, weeks)? This way users could also specify 3h 16 min as 196 min.
    – Nash
    May 10 at 13:39
  • Is this a case where the user will want something really specific, or would they appreciate the system making suggestions? Example: "Remind me in 1 hour / 1 day / 1 month / 1 year."
    – Izquierdo
    May 10 at 13:43
  • @Izquierdo ah good idea, yes they would find it helpful to select 1 min / 1 hour / 1 day / 1 week, and scroll from there May 10 at 14:56

1 Answer 1


One example that I found to be quite easy for the user to visually see the different time frames: enter image description here https://123timer.com/

You can add another column for Month, Year etc...

Another option is to have a drop down for each time period: enter image description here https://dollyclock.com/timer-online

Your Answer

Joshua Ohana is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.