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

Under construction. Email me your wish list for improvements.