Brian Dunning's FileMaker Custom Functions

IsValidYear ( ~year )

Check if a given year is valid.

  Be the first to rate this function Log in to vote

Thomas DS   Thomas DS - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
IsValidYear ( 2020 )
  Sample output:
1

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

The result is boolean.

Valid year in FileMaker:
year - the year (four digits between 0001 and 4000—for example, 2019 but not 19).
( source: https://help.claris.com/en/pro-help/content/date.html )

 

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: