I have store opening times (may vary, that's why I need a function) in 4 JSON arrays. Always present are $time_open and $time_close. Some stores may also have $time_open_alt and $time_close_alt which are afternoon opening times. The alt opening/closing times are always after the primary ones.
I need a PHP function that basically displays when the store is open NEXT time. For example:
"Opens next Tuesday 10:00"
If the store is currently open, I also need the NEXT opening time.
If today is Monday and the store has no opening times until Saturday, I still need it to display:
"Opens next Saturday 14:00"
Note that a store may have empty (closed) days and it may have one or two opening hours.
The function needs to work with the data provided like storeNext($open,$close,$open2,$close2);
13 freelancere byder i gennemsnit $27 på dette job
Hi, I am available and ready to work on this small and easy task. Can you please let me know about JSON api endpoint so i can look into it? Thanks, Anjum
hey i have read all your project details..i love this project.. and i am a php ecpert doing my work for 7years..so i will do this job with all my effort and perfection