Brian Dunning's FileMaker Custom Functions

MonthsToYears ( Months )

Convert number of months to year format i.e. 60 to 5yrs

  Average rating: 4.3 (27 votes) Log in to vote

Tony Tanevski   Tony Tanevski - Show more from this author
Hi-Voltage
http://www.hi-voltage.com.au

Share on Facebook Share on Twitter

  Sample input:
MonthsToYears(60)
MonthsToYears(12)
MonthsToYears(70)
MonthsToYears(13)
  Sample output:
5 Yrs
1 Yr
5 Yrs, 10 Mths
1 Yr, 1 Mth

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

Convert number of months to year format i.e. 60 to 5yrs

 

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: