Avatar of vetrixicode
vetrixicode

asked on 

PHP Unix timestamp difference in days, excluding weekends

Hello experts.

How do I calculate the number of days between two Unix timestamps, excluding the weekends?

For example, 2009-03-24 23:50:01 and 2009-03-19 15:10:10 should give me a result = 3 days.

Thanks a lot
PHP

Avatar of undefined
Last Comment
Beverley Portlock

8/22/2022 - Mon