Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

DisconnectedTime

Returns the date and time of the last disconnection from the server.

If no connection has been established yet, returns the time when the character profile was loaded in Stealth.

Возвращает дату и время последнего отключения от сервера.

Если подключения ещё не было, возвращает время загрузки профиля персонажа в Stealth.

Pascal

function DisconnectedTime: TDateTime;

Python

def DisconnectedTime() -> datetime: ...

Pascal Example

begin
  AddToSystemJournal('Last disconnect: ' + DateTimeToStr(DisconnectedTime));
end.

Python Example

AddToSystemJournal(f'Last disconnect: {DisconnectedTime()}')

See Also

ConnectedTime, Connected