Get number of weekdays of the month in PHP (without weekends) [closed]

1

How can I get the number of days of the month without Saturdays or Sundays in general for any month?

Example:

  • December = 31 days

  • Saturdays and Sundays of the month = 9 days

  

31 - 9 = 22 days.

With an "echo" to show it.

    
asked by Jean Paul 15.12.2016 в 23:30
source

0 answers