LiveInternet
LiveInternet
x
(+ )
rss forum sources ru
rss forum sources ru
rss_forum_sources_ru
-
-
e-mail
-
(3)
YalanLife
livemask2
spiegel1
-
: 29.07.2007
:
:
: 80
:
, 04 2021 . 13:33
+
^D^ima: idTime (Indy )
var
lts:TDateTime;
LTime:TIdTime;
begin
LTime := TIdTime.Create(nil);
try
LTime.Host := 'time.nist.gov';
LTS := LTime.DateTime;
ShowMessage(DateTimeToStr(LTS));
// do something
finally
LTime.Free;
end;
end;
https://forum.sources.ru/index.php?showtopic=421234&view=findpost&p=3845191
:
Delphi:
Windows API
0
0
0
0
0
0
<a href="https://www.liveinternet.ru/users/rss_forum_sources_ru/post481673279/">Как получить дату и время из Интернета</a><br/>^D^ima: На форму кинь idTime (Indy компонент) varlts:TDateTime;LTime:TIdTime;beginLTime := TIdTime.Create(nil); try LTime.Host := 'time.nist.gov'; LTS := LTime.DateTime; ShowMessage(DateTimeToStr(LTS)); // do something finally LTime.Free; end;end; https://forum.sources.ru/index.php?showtopic=421234&view=findpost&p=3845191... <a href="https://www.liveinternet.ru/users/rss_forum_sources_ru/post481673279/">Читать далее...</a>
« .
—
—
. »
:
[1] [
]
:
:
: ( )
:
URL
LiveInternet
PDA