0

I have case in my program user want to count working days is 10 days without counting weekend as workdays. example i choose my first day of working on monday, so if you count normally workdays will ends wednesday because weekend is counted but what i want is 10 workdays not counting weekend as workdays so it should be finish next friday if weekend(saturday & sunday) not counted. so anyone know how to do it using php? sorry bad english. thanks for help!

Ihsan Dn
  • 33
  • 7

1 Answers1

0

There are plenty of solutions here: Calculate business days , Day difference without weekends for php, using arrays, recursion, numbering

Ankit Singh
  • 1,502
  • 1
  • 12
  • 22