How to catch the next business day? PHP

Asked

Viewed 308 times

0

Guys, I’m developing a PHP application related to an online butcher shop. At the time of finalizing the order, I have to check if the current schedule is more than 17:00 hrs, if it is, I need to know what the next business day of the week to be able to return to the customer the date that will be delivered the product. Can anyone help me? I searched some forums, but I couldn’t find anything like it.

  • You also have http://answall.com/questions/50662/descobrir-a-próxima-data-a-partir-do-dia-da-semana/50716#50716. Now you need to know if it’s a holiday or not http://answall.com/questions/125400/php-verifica-fins-ofweeks-e-holidays. and http://answall.com/questions/71221/getholidays.

  • Thank you brother. Hug

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.