比较两个时间服务器之间的时差

时间:2022-04-04 19:10:27

I'm trying to determine if there is any difference in time between two time servers in Windows. For example, I have time.windows.com and time.nist.gov. Is there a simple way to compare the time difference?

我正在尝试确定Windows中两台时间服务器之间的时间是否有任何差异。例如,我有time.windows.com和time.nist.gov。有比较时差的简单方法吗?

1 个解决方案

#1


1  

From windows you can compare both time sources to your own machine and approximate the difference.

从Windows中,您可以将两个时间源与您自己的机器进行比较并估算差异。

w32tm /monitor /computers:time.windows.com,time.nist.gov
time.windows.com[52.179.17.38:123]:
    ICMP: error IP_REQ_TIMED_OUT - no response in 1000ms
    NTP: -0.0528936s offset from local clock
        RefID: utcnist2.colorado.edu [128.138.141.172]
        Stratum: 2
time.nist.gov[132.163.97.1:123]:
    ICMP: error IP_REQ_TIMED_OUT - no response in 1000ms
    NTP: -0.0476330s offset from local clock
        RefID: 'NIST' [0x5453494E]
        Stratum: 1

Warning:
Reverse name resolution is best effort. It may not be
correct since RefID field in time packets differs across
NTP implementations and may not be using IP addresses.

Good Luck!

Shane

#1


1  

From windows you can compare both time sources to your own machine and approximate the difference.

从Windows中,您可以将两个时间源与您自己的机器进行比较并估算差异。

w32tm /monitor /computers:time.windows.com,time.nist.gov
time.windows.com[52.179.17.38:123]:
    ICMP: error IP_REQ_TIMED_OUT - no response in 1000ms
    NTP: -0.0528936s offset from local clock
        RefID: utcnist2.colorado.edu [128.138.141.172]
        Stratum: 2
time.nist.gov[132.163.97.1:123]:
    ICMP: error IP_REQ_TIMED_OUT - no response in 1000ms
    NTP: -0.0476330s offset from local clock
        RefID: 'NIST' [0x5453494E]
        Stratum: 1

Warning:
Reverse name resolution is best effort. It may not be
correct since RefID field in time packets differs across
NTP implementations and may not be using IP addresses.

Good Luck!

Shane