Brian Dunning's FileMaker Custom Functions

GetFiscalYear ( theDate ; fyMonth ; option )

Returns the fiscal year of a given a date

  Be the first to rate this function Log in to vote

Philip McGeehan   Philip McGeehan - Show more from this author
SMD Ltd
http://philipmcgeehan.com

Share on Facebook Share on Twitter

  Sample input:
GetFiscalYear ( "25/12/2020" ; 8 ; "" )
GetFiscalYear ( "25/12/2020" ; 8 ; "start" )
GetFiscalYear ( "25/12/2020" ; 8 ; "end" )
  Sample output:
"2020/21"
01/08/2020
31/07/2021

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

Based on Mike Zarin's function: https://www.briandunning.com/cf/224
but adapted for my needs

 

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: