Brian Dunning's FileMaker Custom Functions

WeekdaysOffset ( startDate ; offset )

Returns the startDate plus or minus the offset (specified weekdays [Monday - Friday])

  Average rating: 4.4 (29 votes) Log in to vote

Nick Chapin   Nick Chapin

Share on Facebook Share on Twitter

  Sample input:
WeekdaysOffset ( 12/15/2005 , 5 )

WeekdaysOffset ( 12/17/2005 , 5 )

WeekdaysOffset ( 12/17/2005 , -3 )
  Sample output:
12/22/2005

12/23/2005

12/14/2005

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

Base on Kurt Otto's function by the same name, this version accounts for the startDate being on a Saturday or Sunday.

 

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.