ConnectionStartTimeMilliseconds (System function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 17: Line 17:


==See also==
==See also==
<ul>
<li><var>[[ConnectionStartTimeString (System function)|ConnectionStartTimeString]]</var>
</ul>
{{Template:System:ConnectionStartTimeMilliseconds footer}}
{{Template:System:ConnectionStartTimeMilliseconds footer}}

Revision as of 23:24, 25 June 2012

Time of connection start in milliseconds (System class)

[Introduced in Sirius Mods 7.8]


Syntax

%number = %(System):ConnectionStartTimeMilliseconds

Syntax terms

%numberThe returned value is the connection start time; it is a numeric value which is the number of milliseconds since 12 AM, January 1, 1900, if the thread is a TCP/IP server (for example, Janus Web Server) thread, or zero otherwise.
%(System) The class name in parentheses denotes a shared method. ConnectionStartTimeMilliseconds can also be invoked via a System object variable, which may be null.

Usage notes

  • The connection time is as of the earliest detection of the connection. For a new connection, this means when the Janus TCP PST sees the first request for a connection.

See also