UTC time & local time (1)
The whole earth is divided into twenty-four time zones, each of which has its own local time. For international radio communication, a unified time is used for the sake of unification, called Universal coordination Time
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
//获得当前时间并且转为字符串-(NSString *) datetransformtotimestring{NSDate*currentdate = [NSDate Date];//get the current time to UTC time 2014-07-16 07:54:36 UTC (UTC time is 8 hours longer than the standard difference)//Convert to StringNSDATEFORMATTER*DF =
1.1 Get Current date + time (date + times) function: Now ()
Mysql> Select Now ();
+---------------------+
| Now () |
+---------------------+
| 2008-08-08 22:20:46 |
+---------------------+
In addition to the now () function to get the current date
1.1 Get the current date + time (date + times) function: Now ()Mysql> Select Now (); + ——————— + | Now () | + ——————— + | 2013-04-08 20:56:19 | + ——————— +In addition to the now () function to get the current datetime, MySQL has the following
Detailed description of mysql to obtain the current date and format, detailed description of mysql current date
MySQL obtains the current date and Date Format
Get system date: NOW ()
Format date: DATE_FORMAT (date, format)
Note: date: Time
MySQL returns the current date and time function summary bitsCN. com1.1 returns the current date + time (date + time) function: now ()
Mysql> select now ();
+ --------------------- +
| Now () |
+ --------------------- +
| 22:20:46 |
+ -------------
MySQL obtains the current date and time stamp function bitsCN.com
MySQL returns the current date, time, and timestamp.
1.1 obtain the current date + time (date + time) function: now ()
Mysql> select now ();
+ ------- +
| Now () |
+ ------- +
| 22:2
MySQL obtains the function Summary of the current date and time. For more information, see.
MySQL obtains the function Summary of the current date and time. For more information, see.
1.1 obtain the current date + time (date + time) function: now ()
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.