This is a creation in
Article, where the information may have evolved or changed.
1. Preface
Time includes time values and time zones, and there are incomplete and ambiguous times when you do not include timezone information. When transmitting or
Time zone DivisionThe whole earth is divided into 24 time zones, each time series has its own local time. At the same time, the local time in each time zone varies by 1 to 23 hours. For example, the local time in London is 8 hours different from
When a user of an application is spread all over the world, the Code of the program is not necessarily dealing with the time zone. The server-side timing task for the user needs to be set to the time zone of the user.
In glow nurture, a typical
The Timedatectl command is a new tool for Rhel/centos 7 and a distributed system based on Fedora 21+, as part of the SYSTEMD system and service Manager, Instead of the old traditional date command used in the Linux distributed system-based Sysvinit
1. Enter date directly to display the time, or you can add-u,
root@openwrt:/# Date-uThu Mar 11:36:33 UTC 2016root@openwrt:/# Date-rThu, 2016 11:36:49 +0000
2. Change the time zone in OpenWrt in/etc/config/systm
Changes in
Option timezone
1. Check the current time zoneLog in as root.Date Fri Sep 5 A:£ ºWhere UTC refers to the currently used time system for world standard Time , also called World coordination Time . The English name is coordinated Universal time and the French name
partitioning of time zones
The world is divided into 24 time zones, each time zone has its own local time, the same time in the local time zone of 1-23 hours, such as the local time in London and Beijing local time difference of 8 hours. In the
Now there is a cross-Time Zone application. users logging on to different time zones need to view their own time zones and switch between time zones.
My idea is that all the stored time in the system is GMT (UTC) time. When a user logs on, the
partitioning of time zones
The world is divided into 24 time zones, each time zone has its own local time, the same time in the local time zone of 1-23 hours, such as the local time in London and Beijing local time difference of 8 hours. In the
There is now a cross-time zone app where users who log in in different time zones need to see their time zones and also be able to switch time zones.
My idea is that all the storage time in the system is GMT (UTC) time, and when the user logs in,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.