ConnectionStartTimeString (System function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
Line 11: Line 11:
<td><var></var>A [[Datetime string formats|datetime format]] string. This is an optional argument; the default format is <code>YYYYMMDDHHMISSXXX</code>.</td></tr>
<td><var></var>A [[Datetime string formats|datetime format]] string. This is an optional argument; the default format is <code>YYYYMMDDHHMISSXXX</code>.</td></tr>
</table>
</table>
==Usage notes==
<ul>
<li>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.
</ul>


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

Revision as of 23:23, 25 June 2012

Time of connection start as string (System class)

[Introduced in Sirius Mods 7.8]


Syntax

%string = %(System):ConnectionStartTimeString[( [format])] Throws InvalidDateString

Syntax terms

%stringThe returned value is the connection start time; it is a string in the format specified by the format argument, if the thread is a TCP/IP server (for example, Janus Web Server) thread, or the null string otherwise.
%(System) The class name in parentheses denotes a shared method. ConnectionStartTimeString can also be invoked via a System object variable, which may be null.
format A datetime format string. This is an optional argument; the default format is YYYYMMDDHHMISSXXX.

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