Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GMT GST GST 000Z #111

Open
huixisheng opened this issue Jan 20, 2021 · 0 comments
Open

GMT GST GST 000Z #111

huixisheng opened this issue Jan 20, 2021 · 0 comments

Comments

@huixisheng
Copy link
Owner

碰到问题反馈 datav 的 sql 的时间同时间相差 8 小时。

image
image

SELECT FROM_UNIXTIME(unix_timestamp(now()), '%Y-%m-%d %H:%i:%S')

这里最后边的“Z”是协调世界时中0时区的标志。协调世界时,即UTC,又称世界统一时间、世界标准时间、国际协调时间。 -- from 时间末尾多了.000Z?_XUDC的程序人生-CSDN博客 https://blog.csdn.net/xudc0521/article/details/104775781

UTC:世界标准时间
协调世界时(英:Coordinated Universal Time ,法:Temps Universel Coordonné),又称世界统一时间,世界标准时间,国际协调时间。英文(CUT)和法文(TUC)的缩写不同,作为妥协,简称 UTC。
GMT:格林尼治时间
GST:北京时间
GST = UTC + 8h
-- from UTC-GMT-GST | 尼采般地抒情 https://www.wztlink1013.com/blog/delag2/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant