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
Time zone abbreviation UTC, CST, GMT, CEST and conversionUTC is an abbreviation for Coordinated Universal Time (Universal time coordinated), which is defined and recommended by the International Radio Advisory Committee and is maintained by the
Tzselect
Execute tzselect Command--Select asia--> Select china--> Select East China-beijing, Guangdong, Shanghai, etc--> and enter 1
Select (5) Asia time zone
Please identify a, so, time zone rules can be set correctly.
Please select a continent
1. Check the system time[[Email protected] ~]# DateThu Dec 23:25:33 CST 2012[[Email protected] ~]# date + "%y%m%d%h:%m:%s"20121220 23:12:542. View hardware TimeThe system clock is the clock in the current Linux kernel, and the hardware clock is a
Date and Time functionsThis chapter discusses some functions that can be used to manipulate time values. See section 11.3, "Date and Time type" for valid formats for each time and date type with a range and a specified value.
The following example
Reference: http://blog.sina.com.cn/s/blog_6d39dc6f0100m7eo.htmlLocaltimestamp () LocaltimestampThese date-time functions are equivalent to now (). Since the now () function is short and easy to remember, it is recommended that you always use now ()
The prediction of tooth blast is dead: 1. Argentina | 2. Brazil | 3. Spain |4. USA
I divided the Top 16 into four zones: the dark horse area, the death area, the Brazil area, and the tooth area.
South Korea Uruguay
Poor South Korea.
South
Linux/unix-time timestamp processing conversion functionThe time function under LinuxWe can often use time in programming, such as getting the system time (to get the system's year, month, day, hour, minute, second, week, etc.), or to do something
Transfer from http://blog.sina.com.cn/s/blog_6d39dc6f0100m7eo.html1.1 Get the current date + time (date + times) function: Now ()In addition to the now () function to get the current datetime, MySQL has the following function:Current_timestamp ()
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.