2208988800一个奇怪的数字

220898880019001100:00:00~19701100:00:00的总秒数

以下为相关资料:

Rfc 868

NetworkWorking Group                                   J. Postel - ISI
Request for Comments: 868                           K. Harrenstien -SRI
                                                               May 1983

TimeProtocol

This RFCspecifies a standard for the ARPA Internet community.  Hosts on
the ARPA Internet that choose to implement a Time Protocol are expected
to adopt and implement this standard.

Thisprotocol provides a site-independent, machine readable date and
time.  The Time service sends back to theoriginating source the time in
seconds since midnight on January first 1900.

Onemotivation arises from the fact that not all systems have a
date/time clock, and all are subject to occasional human ormachine
error.  The use of time-servers makes itpossible to quickly confirm or
correct a system's idea of the time, by making a brief poll ofseveral
independent sites on the network.

Thisprotocol may be used either above the Transmission Control Protocol
(TCP) or above the User Datagram Protocol (UDP).

Whenused via TCP the time service works as follows:

S:Listen on port 37 (45 octal).

U:Connect to port 37.

S: Sendthe time as a 32 bit binary number.

U:Receive the time.

U: Closethe connection.

S: Closethe connection.

Theserver listens for a connection on port 37. When the connection
   is established, the server returns a32-bit time value and closes the
   connection.  If the server is unable to determine the timeat its
   site, it should either refuse theconnection or close it without
   sending anything.

Postel                                                         [Page 1]

RFC868                                                        May 1983
Time Protocol                                                          

Whenused via UDP the time service works as follows:

S:Listen on port 37 (45 octal).

U: Sendan empty datagram to port 37.

S:Receive the empty datagram.

S: Senda datagram containing the time as a 32 bit binary number.

U:Receive the time datagram.

Theserver listens for a datagram on port 37. When a datagram
   arrives, the server returns a datagramcontaining the 32-bit time
   value. If the server is unable to determine the time at its site, it
   should discard the arriving datagramand make no reply.

The Time

The timeis the number of seconds since 00:00 (midnight) 1 January 1900
GMT, such that the time 1 is 12:00:01 am on 1 January 1900 GMT; this
base will serve until the year 2036.

Forexample:

thetime  2,208,988,800 corresponds to00:00  1 Jan 1970 GMT,

2,398,291,200corresponds to 00:00  1 Jan 1976 GMT,

2,524,521,600corresponds to 00:00  1 Jan 1980 GMT,

2,629,584,000corresponds to 00:00  1 May 1983 GMT,

and-1,297,728,000 corresponds to 00:00 17 Nov 1858 GMT.

Postel                                                         [Page 2]

 

 

The NTP Era and Era Numbering


from The Wizard of Oz, L. Frank Baum

Era dynamically aloft

Last update 12-May-201223:56 UTC

Abstract

The NetworkTime Protocol (NTP) specification defines the timescale in terms of timestampsand dat

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值