ConnectionStartTimeString (System function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 7: Line 7:
<tr><th>%string</th><td>The returned value is the connection start time; it is a string in the format specified by the <var class="term">format</var> argument, if the thread is a TCP/IP server (for example, <var class="product">Janus Web Server</var>) thread, or the null string otherwise.</td></tr>
<tr><th>%string</th><td>The returned value is the connection start time; it is a string in the format specified by the <var class="term">format</var> argument, if the thread is a TCP/IP server (for example, <var class="product">Janus Web Server</var>) thread, or the null string otherwise.</td></tr>
<tr><th><var>%(System)</var></th>
<tr><th><var>%(System)</var></th>
<td>The class name in parentheses denotes a shared method. <var>ConnectionStartTimeString</var> can also be invoked via a <var>System</var> object variable, which may be null.</td></tr>
<td>The class name in parentheses denotes a ÝÝNotation conventions for methods#Shared methods|shared¨¨ method. <var>ConnectionStartTimeString</var> can also be invoked via a <var>System</var> object variable, which may be null.</td></tr>
<tr><th>format</th>
<tr><th>format</th>
<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>

Revision as of 20:38, 1 July 2011

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 ÝÝNotation conventions for methods#Shared methods|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.

See also