沃梦达 / 编程问答 / php问题 / 正文

UNIX时间戳总是在格林威治标准时间?

UNIX timestamp always in GMT?(UNIX时间戳总是在格林威治标准时间?)

本文介绍了UNIX时间戳总是在格林威治标准时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

UNIX 时间戳总是以 GMT 表示?

UNIX timestamp always in GMT?

我尝试运行 php 函数 time()

I tried to run php function time()

当我尝试从 time() 函数转换 unix 时间戳时,输出与计算机时间不相似.

and when I tried to convert the unix timestamp from the time() function, the output is not similar to the computer time.

谢谢

推荐答案

是的,UNIX 时间戳表示从 GMT+0

yep, UNIX timestamp represents how much seconds past from unix-time epoch in GMT+0

这篇关于UNIX时间戳总是在格林威治标准时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:UNIX时间戳总是在格林威治标准时间?