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
LuminFire
http://luminfire.com

Share on Facebook Share on Twitter

  Sample input:
Year4Digit(90,80)
  Sample output:
1990

  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).

 

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.

Under construction. Email me your wish list for improvements.