Welcome to the DR Network.

Everything you need to get started building reports with Data Repository. All free and available for every MEDITECH version from MAGIC to Expanse. Sign up today!

Contact us

Age in Months and Days (function)

  • MT platform: All

This scalar TSQL function returns a computed age between two dates, shown in whole months and days (0M 0D), typically used for infants.

(Read our blog for more information about user-defined functions in T-SQL.)

To download this report, please log in or create an account.  


fn age months days