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.
1.4m articles
1.4m replys
5 comments
57.0k users