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

Convert MT Time to Datetime (function)

  • MT platform: All

This scalar TSQL function returns a datetime datatype given the input of an integer stored in MEDITECH TimeID format.

(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 mt timeid to datetime