How can I calculate the number of working days between two dates?

What formula can I use to accurately calculate working days only?