Brian Dunning's FileMaker Custom Functions

weekdays ( startdate ; enddate )

Calculates weekdays between dates

  Average rating: 4.1 (35 votes) Log in to vote

Barbecue   Barbecue
Le Kastelo de Barbakoa
http://www.milleniumhandandshrimp.com

Share on Facebook Share on Twitter

  Sample input:
weekdays( 12/01/2004; 12/25/2004)
  Sample output:
18

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

A function to compute the number of weekdays (Monday throught Friday) between two arbitrary dates.
Uses recursion, so it's not exactly super efficient, but it does work.

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.