Brian Dunning's FileMaker Custom Functions

Year4Digit ( ThisYear ; CutOffYear )

Convert a 2 digit year into 4 digits.

  Average rating: 4.8 (22 votes) Log in to vote

Tim Cimbura   Tim Cimbura - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
  Sample output:

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

This custom function will take a 2 digit year and convert it to a four digit year. Based on a specified 2 digit cut off year it will determine if the actual year is in the 20th (19XX) or 21st century (20XX).



Log in to post comments.


Note: these functions are not guaranteed or supported by 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 16 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: