GetLastCommandTime()
ts
GetLastCommandTime(): Date;Returns the timestamp of the last command that was issued by the client and correctly received and handled by the server, as a JavaScript Date object.
Example
ts
{
if (Session) {
var lct = Session.GetLastCommandTime();
Log(lct.toString()); // Will log something like `Sat Mar 18 2023 06:12:38 GMT-0700`
} else {
Log('Session object is not available.');
}
}