Alibabacloud.com offers a wide variety of articles about france current local time, easily find your france current local time information here online.
In the development process, there are two concepts related to the regional area: character encoding and time; the evolution of the Code and Time specification has a historical legacy, and it is a corner of the development of software. About
PHP Date-time function date ()1, year-month-day
Copy Code code as follows:
echo Date (' y-m-j ');
2007-02-6
echo Date (' y-n-j ');
07-2-6
Capital Y represents a four-digit year, while lowercase y represents a
Array: "Focus 1" implode (delimited, arr) concatenate the array value data by the specified character For example: $arr =array (' 1 ', ' 2 ', ' 3 ', ' 4 '); $str =implode ('-', $arr); Explode ([delimited],arr) splits a string by the specified
Date () is a commonly used date-time function, let me summarize the date () function of the various forms of usage, there is a need to learn the friend can refer to.
Formatted dateThe first parameter of the date () function specifies how the date/
Date () is a commonly used date-time function, let me summarize the date () function of the various forms of usage, there is a need to learn the friend can refer to.Formatted dateThe first parameter of the date () function specifies how the
Formatted dateThe first parameter of the date () function specifies how the date/time is formatted. It uses letters to represent the format of dates and times. Here is a list of some availableThe letters:D-Day of the month (01-31)• M-Current month,
PHP Date-time function date ()
1, year-month-day
echo Date (' y-m-j ');
2007-02-6
echo Date (' y-n-j ');
07-2-6
Capital Y represents a four-digit year, while lowercase y represents a two-digit number for the year;
Lowercase m represents the number
php datetime function date ()
1, year-month-day
echo Date (' y-m-j ');
2007-02-6
echo Date (' y-n-j ');
07-2-6
Uppercase Y represents the year four digits, while lowercase y represents the two digits of the year;
Lowercase m represents the number
Array: "Focus 1"Implode (delimited, arr) connects the array value data to the specified characters.
For example:
$arr =array (' 1 ', ' 2 ', ' 3 ', ' 4 ');
$str =implode ('-', $arr);
Explode ([delimited],arr) splits a string by the specified rule,
A detailed explanation of the date and time function of PHP date ()Introduces the simple use of the PHP date-time function, which will introduce more functions to enrich our application.
checkdate ($month, $date, $year)
If the value that is
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.