Best GUI control(s) to describe a time range

后端 未结 10 847
死守一世寂寞
死守一世寂寞 2021-01-31 19:58

I need to let end users specify a time range, to be stored and used internally as a starting date/time and ending date/time. The range could be minutes or it could be days.

10条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-31 20:28

    Unless there is a more advanced time control in your GUI toolkit of choice, two calendar controls representing start and end is the most straightforward. Also, you need to decide how you want to use the information. For example, if you used a start date and an interval to increment that date, changing the start date wouldn't change the meaning of the interval. It really depends on what you're wanting to do.

提交回复
热议问题