GetConnectedTime Method
The GetConnectedTime method returns the time a computer was connected.
Syntax
[long=] SiteCafe.Server.ComputerStats.GetConnectedTime(compIndex,
sTime, eTime)
|
Parameters
compIndex |
Long value that specifies the computer index. |
sTime |
Long value that specifies the start time. |
eTime |
Long value that specifies the end time. |
Return Value
Returns a Long value that contains the time.
Remarks
The start and/or end time will be ignored if they are 0.
Otherwise they are specified by the return value of the Date.getVarDate method divided by 1000.
Examples
The following example displays the time the first computer was connected.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
alert(SiteCafe.Server.ComputerStats.GetConnectedTime(1, 0, 0));
</SCRIPT>
|
Applies to
SiteKiosk v6.2 (and later versions).
Back to top