Brian Dunning's FileMaker Custom Functions

WeekFiscalToDate ( Yearnr ; WeeknrOfYear ; Firstweekday )

Calculate date from fiscal-weeknumber and year

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

Menno van Beek   Menno van Beek - Show more from this author
Van Beek Zakelijke Software
https://www.vbzs.nl

Share on Facebook Share on Twitter

  Sample input:
WeekFiscalToDate ( 2013 ; 5 ; 2 )
WeekFiscalToDate ( 2015 ; 5 ; 1 )
WeekFiscalToDate ( 2015 ; 5 ; 2 )
  Sample output:
1/28/2013
2/1/2015
1/26/2015

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

This function works more or less as the inverse function of WeekOfYearFiscal(), which is built into Filemaker. Only instead of calculating the weeknumber, it calculated the date for the given day of the given weeknr.

 

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 15 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:

Under construction. Email me your wish list for improvements.