Support the ongoing development of Laravel.io →
Database Eloquent Laravel
Last updated 1 year ago.
0
Solution

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!

0
Solution selected by @ngenen

Sign in to participate in this thread!

Eventy

Your banner here too?

Nicolas Genen ngenen Joined 9 Sep 2022

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.