V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
daydaysay
V2EX  ›  问与答

你的时间

  •  
  •   daydaysay · Nov 20, 2018 · 2433 views
    This topic created in 2727 days ago, the information mentioned may be changed or developed.

    http://www.beijing-time.org/ https://www.timeanddate.com/time/zones/cst-china

    电脑时间配了 ntp 同步,检查过了,和 ntp 时间一致,但是与以上两个网站提供的北京时间不一致。 相差有 30s 左右。 谁能解释下?

    Supplement 1  ·  Nov 20, 2018
    sntp -d time.asia.apple.com
    sntp [email protected] Tue Mar 21 14:36:42 UTC 2017 (136.200.1~2533)
    kod_init_kod_db(): Cannot open KoD db file /var/db/ntp-kod: No such file or directory
    handle_lookup(time.asia.apple.com,0x2)
    move_fd: estimated max descriptors: 4864, initial socket boundary: 20
    sntp sendpkt: Sending packet to 17.253.84.251:123 ...
    Packet sent.
    sock_cb: time.asia.apple.com 17.253.84.251:123
    2018-11-20 21:00:20.551802 (-0800) -27.298728 +/- 18.200235 time.asia.apple.com 17.253.84.251 s1 no-leap
    之前核对时间的时候,我自己搞错了。

    原来这里已经告诉我了,我的本地时间比 ntp 时间快了 27.298728s.

    但是奇怪的就是 mac 系统从来就没有帮我更正本地时间。 - -
    1 replies    2018-11-20 20:43:13 +08:00
    WordTian
        1
    WordTian  
       Nov 20, 2018 via Android
    说明这两个站主机时间有区别呗
    其实像这种 ntp 服务器一般都是取他本机的时间发你的,精度全看他主机里的时间准不准
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3016 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 07:15 · PVG 15:15 · LAX 00:15 · JFK 03:15
    ♥ Do have faith in what you're doing.