How can I calculate the number of Saturdays and Sundays between two dates in php?
Is there any inbuilt function for that purpose?
There is a related question here already, Calculate business days
You can use this to subtract from 7 to get the weekend days, or similar.
2.1m questions
2.1m answers
60 comments
57.0k users