WEEKDAYS¶
Description¶
WEEKDAYS takes two dates and returns the number of weekdays (Monday–Friday) between them. The order of the arguments does not matter.
Example¶
This returns 7, as there are 7 weekdays between 1 December and 12 December 2022.
Example with a datetime¶
Datetime values are supported — this also returns 7.