I am having an issue when working with opening times. There are users who can set up shops on the platform and they need to set their opening hours.
I transform the time “08:00” into a number “0800” so I can simply run a “greater than” or “smaller than” condition when I want to find out if a shop is Open/Closed.
However I want to display the opening hours to customers. And there I need to turn “800” into “08:00” / “8:00”. It is just for displaying.
How do I do it?
Thanks in advance for your help.