GetConnectedTime Method

The GetConnectedTime method returns the time a computer was connected.


    [long=] SiteCafe.Server.ComputerStats.GetConnectedTime(compIndex,
            sTime, eTime)
    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.
    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.
    The following example displays the time the first computer was connected.

    <SCRIPT TYPE="text/javascript">
    alert(SiteCafe.Server.ComputerStats.GetConnectedTime(1, 0, 0));

Applies to
    SiteKiosk v6.2 (and later versions).

Back to top