I need to find out how Weekdays there are between two days.

That means..... Mon, Tue, Wed, Thur, Fri...

how can i do this?
I know i can not just divide the Amount of days by 5 (for the weeks) and then subtract (2 * Amount of weeks)' (for the weekend), because the first date may start on a Thursday...

Can anybody help me.