Welcome to the DR Network.

The DR Network has everything you need to get started building reports with Data Repository, including T-SQL stored procedures and functions, SSRS report definition files, and even Report Designer reports. Everything is free to the MT community and available for every MT version from MAGIC to Expanse. Sign up today!
Contact us
500 characters left

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