How to catch the next working day? PHP [duplicate]

this question already has answers here : PHP checks weekends and holidays (1 response) Skip to the next business day if the date falls on a weekend (1 response) Closed for 3 years.

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 schedules is more than 17: 00 hrs, if it is, I 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 a few forums, but found nothing like it.

Author: Fellipe Botelho, 2017-03-24