Brian Dunning's FileMaker Custom Functions

DayCounter ( Date_Start ; Date_End ; Days_of_Week )

Counts number of times a day or days occurs over a date range

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

Josh Morton   Josh Morton - Show more from this author
JEM CONSULTING

Share on Facebook Share on Twitter

  Sample input:
_DayCounter ( Date ( 1 ; 1 ; 2010 ) ; Date ( 3 ; 31 ; 2010 ) ; "2ΒΆ4" )
  Sample output:
26

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

For example if you want to know how many Mondays and Wednesday occur between Jan 1st and March 31st. (For example in 2009 it was 25 in 2010 it as 26)

 

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.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: