Examples of %T

Example:

GTM>DO ^%T
8:30 AM

This example invokes %T, which prints the current time and does not set %TIM.

Example:

GTM>DO INT^%T
GTM>ZWRITE
%TIM="8:30 AM"

This example invokes INT^%T, which sets the variable %TIM to the current time. ZWRITE displays the contents of the variable.

Example:

GTM>WRITE $$FUNC^%T
8:30 AM 

This example invokes FUNC as an extrinsic function, which returns the current time.