ConnectionStartTimeString (System function): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (→Syntax terms) |
||
Line 5: | Line 5: | ||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<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 ( | <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 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. | <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> | ||
==See also== | ==See also== | ||
{{Template:System:ConnectionStartTimeString footer}} | {{Template:System:ConnectionStartTimeString footer}} |
Revision as of 01:34, 3 May 2011
Time of connection start as string (System class)
[Introduced in Sirius Mods 7.8]
Syntax
%string = %(System):ConnectionStartTimeString[( [format])] Throws InvalidDateString
Syntax terms
%string | The 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 . |