系统时间是10位,如何? [英] System Time is 10 Digit , How?

查看:159
本文介绍了系统时间是10位,如何?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对当前系统时间有疑问.我有基于命令行的软件. 当我运行该软件时,它向我显示了执行开始和结束的时间.即

I have question about the current system time. I have software based on command line. When I run that software, it shows me the time at both the start and end of execution. ie

  • 开始:The current system time is: 1378258559
  • 结尾:The current system time is : 1378258570
  • Start: The current system time is: 1378258559
  • End: The current system time is : 1378258570

我不知道时间是秒还是分钟. 1378258559是如何计算的?两个数字之间的区别是11.

I do not know if the time is in seconds or minutes. How is the 1378258559 is calculated? The difference between the two numbers is 11.

仅供参考,我系统上的当前日期和时间是:04/09/2013 9:50 AM

FYI, the current date and time on my system is: 04/09/2013 9:50 AM

推荐答案

网站有一个计算器:

这是自格林尼治标准时间1970年1月1日以来的秒数.

It is the number of seconds since January 1st, 1970 at midnight GMT.

11,是因为某事花了11秒.

The 11, is because something took 11 seconds.

这是一篇说明为什么选择1970以及其定义的帖子:

Here's a post explaining why 1970 was chosen along with the definition:

  • Unix时间(或POSIX时间)是一种用于描述时间点的系统,时间点定义为自1970年1月1日午夜多点协调世界时(UTC)起经过的秒数.

为什么从1970年1月1日开始计算日期?

这篇关于系统时间是10位,如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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