为什么日期是从1970年1月1日算起的? [英] Why are dates calculated from January 1st, 1970?

查看:1376
本文介绍了为什么日期是从1970年1月1日算起的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用日期(1970年1月1日)作为时间操纵的默认标准是否有任何理由?我在Java和Python中都看到过这个标准。我知道这两种语言。是否有其他流行语言遵循相同的标准?

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 languages I am aware of. Are there other popular languages which follows the same standard?

请描述。

推荐答案

这是 Unix时间的标准。


Unix时间或POSIX时间是一个用于描述时间点的系统,定义为自1970年1月1日午夜时分的协调世界时(UTC)起经过的秒数,不计算闰秒。

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.

这篇关于为什么日期是从1970年1月1日算起的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆