Skip to main content

%Library.Function

Class %Library.Function Extends %RegisteredObject [ Final, System = 4 ]

Language independent accessors for selected system variables

Methods

Horolog

ClassMethod Horolog() As %String

Contains the current date and time as integer counters.

ProcessID

ClassMethod ProcessID() As %Integer

Contains the ID of the current process.

NameSpace

ClassMethod NameSpace() As %String

Contains the current namespace name.

TimeStamp

ClassMethod TimeStamp() As %String

Contains the current date and time in Coordinated Universal Time format.

TimeZone

ClassMethod TimeZone() As %String

Contains the time zone offset from GMT

HostName

ClassMethod HostName() As %String

Return current host name

IPAddresses

ClassMethod IPAddresses(HName As %String) As %String

Returns specified host IPs (comma separated) Note: it returns configured IPs not necessarily the actual NIC IPs If host name is not specified returns current host IPs.