Brian Dunning's FileMaker Custom Functions

DayofFiscalYear ( TheDate ; StartingDay ; StartMonth ; StartDay )

A companion to the WeekofFiscalYear custom function; returns the Day Number of TheDate in the defined Fiscal Year.

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

Jason L. DeLooze   Jason L. DeLooze
Nocturnal MicroSystems
http://n/a

Share on Facebook Share on Twitter

  Sample input:
DayofFiscalYear(5/15/2004;1;7;1)
  Sample output:
322

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

A companion function to the WeekofFiscalYear custom function. The function has the same input parameters as the WeekofFiscalYear function, and it returns the Day Number ofTheDate in the defined Fiscal Year. For example, the first day of the defined fiscal year is 1, and the last day of the fiscal year is either 364 or 371, depending on whether the FY has 52 or 53 weeks.

 

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: