Why are dates calculated from January 1st, 1970?

后端 未结 7 832
自闭症患者
自闭症患者 2020-12-12 12:49

Is there any reason behind using date(January 1st, 1970) as default standard for time manipulation? I have seen this standard in Java as well as in Python. These two languag

7条回答
  •  半阙折子戏
    2020-12-12 13:26

    It is the standard of Unix time.

    Unix time, or POSIX time, is a system for describing points in time, defined as the number of seconds elapsed since midnight proleptic Coordinated Universal Time (UTC) of January 1, 1970, not counting leap seconds.

提交回复
热议问题