So, I finally end up doing another bit parser for the working hours, 1 bit each half hour. So I have 48 bits, if its open at that time, you have 1, otherwise 0. Since my need is for business hours (stores), I don't mind it to be each half hour, no store has a opening or closing time like 22:10, so it works.
I'll make an article with the code and approach.
Thanks!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community