: This article mainly introduces that the GMT + 8 string of the PHP conversion database is the user's local time zone. if you are interested in the PHP Tutorial, refer to it.
Write user time zone into cookie
Php reads and processes user time
GMT is utc/gmt time, January 01, 1970 00:00 00 seconds (that is, utc+8 Beijing time January 01, 1970 08:00 00 seconds)The calculation code is as follows:
1 /**2 * Gets the number of seconds from the specified time to GMT3 * UTC: GMT January 01,
GMT is GMT, UTC is the universal Time, GMT and UTC are the same timeBeijing time is East eight district, namely Gmt+8 or utc+8Cst:central Standard Time (CST) is 6 hours behind coordinated Universal time (UTC). This time zone was in use during
About GMT and UTCFirst, IntroductionMany people know that the two-way schedule is referred to as GMT or UTC, and the World Time Zone table is referred to as universal, so what is the actual intent of GMT and UTC? How is the world time zone
Time zone resolution and how to adjust the time zone in Linux preface today we found that the system time of Centos6.0-64bit in Vmware is several hours different from that of the host machine. after adjusting the system time, restart and restore the
Time zone resolution and how to adjust the time zone in Linux preface today we found that the Centos 6.0-64bit system time in Vmware differs from the host time for several hours, after adjusting the system time, restart and restore the system. So I
Linux time zone details and common time functions time and time zone The entire earth is divided into 24 time zones, each time zone has its own local time. ø UTC Time and GMT time We can think of Greenwich Mean Time (GMT = UTC), GMT and
The time in PHP has two formatting functions: Date () and gmdate (), which are described in the official document as follows:
Date-format a local time/date
Gmdate-format a gmt/UTC date/time and return the Greenwich Mean Time (GMT ).
For example, if
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
UT-World Time
Universal TimeThe world is the earliest time standard.In 1884, the international 1s was defined as the 1/8.64x104 of the daily average length of the year. The time system formed by this standard, called the World, is UT1.The
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.