Count working days between timestamps

I really need to find out how to count the working days (excluding just weekends it’s ok) between 2 timestamps.