I’m building an app for managing working hours. I want to show the time range for each worker on a bar. I managed to do it by having a repeating group where each cell change his color if its value is contained by the range. But it’s a pretty heavy way, and it slows the app.
For me it has proven to be the easiest way to deal with dates and times…the “total_seconds” and “total_minutes” is something that allows me to do ranges and I can’t tell that it is faster or not than what you might be doing, but for me it is the alternative I’ve used.
It has also helped me with other things in terms of availability calendars, meeting schedules and saving dates with the correct time associated.
This is how I get them into my database relatively quickly
It is one alternative…other users probably do something different that works for them and I’m sure some experienced programmers/coders use something more sophisticated.
Thank you @boston85719 for your answer. I’m currently converting time in minutes to define numeric range like you.
Sorry but my question was about a better way to display these data in something similar to my chart. Now it’s a simple RG in each cell have predefined number. If this number is contained in the numeric range of my time slot, the cell color change. It would be perfect to have a slider with multiple slots.