ConnectedTime
Returns the date and time of the last successful connection to the server.
If no successful connection has been made yet, returns 30.12.1899 (equivalent to 0 in Delphi’s TDateTime format).
Возвращает дату и время последнего успешного подключения к серверу.
Если успешного подключения ещё не было, возвращает 30.12.1899 (эквивалент 0 в формате TDateTime Delphi).
function ConnectedTime: TDateTime;
def ConnectedTime() -> datetime: ...
begin
AddToSystemJournal('Connected since: ' + DateTimeToStr(ConnectedTime));
end.
AddToSystemJournal(f'Connected since: {ConnectedTime()}')