Quantcast
Channel: 酷壳 - CoolShell.cn » timestamp
Browsing all 3 articles
Browse latest View live

时间1234567890

“At 11:31:30pm UTC on Feb 13, 2009, Unix time will reach 1,234,567,890. Where will you be at this momentous second?” – from Bell Labs...

View Article



Image may be NSFW.
Clik here to view.

你确信你了解时间吗?

你还记得“软件真的好难做”中的那个有意思的例子吗?那个例子告诉我们软件开发中假设可能会是致命的事。今天,我又在StackOverflow上看到一个关于时间的问题——为什么1927年12月31日的午夜时间这么奇怪?提问题的这个人给了下面的一段java代码(我做一些修改,保证让你可以copy过去就可以编译运行) 我在其中高亮了几行,这个程序就是想比较一下“1927-12-31 23:54:07”  和...

View Article

Image may be NSFW.
Clik here to view.

关于闰秒

2012年6月30日,也就今天晚上,时间会多出现一秒,也就是我们所说的闰秒。我不知道大家对闰秒的了解有多少,所以写下这篇文章。 背景知识 闰秒是在在UTC(中文“世界标准时间”或“世界协调时间”/英文“Coordinated Universal Time”/法文“Temps Universel Cordonné”)是基于Atomic Clock(原子时钟)的一种时间,向太阳时(Solar Time...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images