Skip to main content



WeekdayDiff Function

The WeekdayDiff function returns the number of weekdays between two Date values.

Syntax

WeekdayDiff(start, end)

The WeekdayDiff function returns the number of weekdays between two Date values.

Arguments

start DateTime - The starting Date or DateTime expression.

end DateTime - The ending Date or DateTime expression.

Remarks

Example:

WeekdayDiff("7/22/2010", "7/25/2010"); // returns 1