Autor Beitrag
Regan
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2157
Erhaltene Danke: 72


Java (Eclipse), Python (Sublimetext 3)
BeitragVerfasst: Fr 13.04.07 14:09 
Hallo,
ich habe mir eine Uhrgeschrieben, die die Windows-Uhr ersetzen soll (in geraumner Zukunft). Jetzt hab ich mir gedacht, dass ich die Uhr über das Internet aktuell halte. Dazu habe ich mir bei Funpic n php-Scipt geschrieben, was mir die Zeit ausgibt. Allerdings geht das knapp 45 sec nach. Kennt jemand eine Seite sagen, wo die Zeit noch aktueller angegeben wird und (is aber net so wichtig:)wo ich auch andere Zeitzonen abfragen kann?

MfG
Regan
Martok
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: Fr 13.04.07 14:18 
Interessant für dich dürfte Suche in Wikipedia NTP sein. Die meisten Server gehen <100ms falsch und da die Zeit als UTC angegeben ist, ist auch die Zeitzone kein Problem.

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Fr 13.04.07 14:26 
Schau Dir mal die NTP-Komponente von den Indies an.

Unter Linux synchronisiere ich allein über NTP meinen Rechner mit dem Inet ... Dort gibt's direkt Programme fr. Unter Windows existieren dafür zwar auch Teile, die sind aber bisher relativ krampfig ...

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Regan Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2157
Erhaltene Danke: 72


Java (Eclipse), Python (Sublimetext 3)
BeitragVerfasst: Fr 13.04.07 14:41 
user profile iconMartok hat folgendes geschrieben:
Interessant für dich dürfte Suche in Wikipedia NTP sein. Die meisten Server gehen <100ms falsch und da die Zeit als UTC angegeben ist, ist auch die Zeitzone kein Problem.

Hmm... Ich hab mir das angeschaut, aber so richtig schlau geworden bin ich daraus nicht.
user profile iconBenBE hat folgendes geschrieben:
Schau Dir mal die NTP-Komponente von den Indies an.

Also ich hab nur 'idNNTPServer'. Wo genau soll die Komponente sein?
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Fr 13.04.07 14:48 
NNTP = Network News Transfer Protocol ;-) Bringt Dir nix ...

NTP = Network Time Protocol und wird von TidTime implementiert ... Ich hasse es, dass die das bei den Indies immer nicht voll durchziehen ... Die Hälfte heißt nach dem Protokoll, die andre nach der Aufgabe ... Sowas von inkonsequent ^^

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Fr 13.04.07 15:51 
da du Windows XP hast, kannst du ach dessen integrierte Funktionen nutzen, um dich aus dem Internet mit der aktuellen Zeit zu versorgen.

PS: als NTP Server würde ich dir pool.ntp.org oder de.pool.ntp.org empfehlen !

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Martok
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: Sa 14.04.07 00:09 
user profile iconmatze hat folgendes geschrieben:
PS: als NTP Server würde ich dir pool.ntp.org oder de.pool.ntp.org empfehlen !

Ich nicht :P
Die Pool Server sind teilweise extrem lahm. Jetzt nachts geht es einigermaßen, aber sonst nehm ich ntp1.t-online.de.
Wobei ja auch immer die Frage ist, welchen Server aus dem Pool man grade erwischt hat.

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."
Regan Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2157
Erhaltene Danke: 72


Java (Eclipse), Python (Sublimetext 3)
BeitragVerfasst: Sa 05.05.07 15:35 
So. Ich hab jetzt n bissl rumprobiert und mich für pool.ntp.org entschieden. Danke noch mal an alle.