I have a list of list containing start_time and end_time. something like this
[[3600, 4800], [3600, 4800], [3600, 4800]]
We are storing start_time and end_time as an integer and in minutes. Now I need to how can I somehow convert this to a DateTime. So that I can compare it with local_time or system time.
But in order to do that, I’m struggling with the next step. Do I need to convert this to a second? Or first add them and convert it to a second and add some format to it. What should I do?