CountWorkingDays ( DateStart ; DateEnd )
Returns the number of working days between two dates.
Average rating: 4.5 (13 votes) Log in to vote
Cristos Lianides-Chin - Show more from this author
Codence https://www.codence.com |
$example2 = CountWorkingDays ( "7/20/2016" ; "7/18/2016" )
$example2 = -3
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Returns the number of working days between two dates:
* if DateStart is BEFORE DateEnd, returns a positive number
* if DateStart is AFTER DateEnd, returns a negative number
Comments
Helder Moreira Aug 8, 2024 |
||
It is missing 1 day. example: from 22/07/2024 to 02/08/2024 is counting 9 days. Am I wrong? how can I fixe it? |
||
Cristos Lianides-Chin, Codence Aug 8, 2024 |
||
@Helder thanks for the bug report! I've updated the function so that it's tallying the first day correctly. Please use v1.1, above. | ||
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.