No cache version.

Caching disabled. Default setting for this page:enabled (code DEF204)
If the display is too slow, you can disable the user mode to view the cached version.

Rechercher dans le manuel MySQL

Displaying 1 to 10 of 175 total results
https://dev.mysql.com/date-and-time-functions.html
See Section 11.3, “Date and Time Types”, for a description of the range of values each date and time type has and the valid formats in which values may be specified. The following query selects all rows with a date_col value from within the last ... This section describes the functions that can be used to manipulate temporal ...
https://dev.mysql.com/date-and-time-types.html
The date and time types for representing temporal values are DATE, TIME, DATETIME, TIMESTAMP, and YEAR. For a description of the permitted formats for date and time types, see Section 9.1.3, “Date and Time Literals”. Although MySQL tries to ...
https://dev.mysql.com/using-date.html
You should use this format in UPDATE expressions and in the WHERE clause of SELECT statements. For example: SELECT * FROM t1 WHERE date >= '2003-05-05'; As a convenience, MySQL automatically converts a date to a number if the date is used in a ...
https://dev.mysql.com/date-and-time-literals.html
Date and time values can be represented in several formats, such as quoted strings or as numbers, depending on the exact type of the value and other factors. For example, in contexts where MySQL expects a date, it interprets any of '2015-07-21', ...
https://dev.mysql.com/date-and-time-type-conversion.html
For example, although DATE, DATETIME, and TIMESTAMP values all can be specified using the same set of formats, the types do not all have the same range of values. This means that a date such as '1968-01-01', while valid as a DATE or DATETIME value, ... To some extent, you can convert a value from one temporal type to ...
https://dev.mysql.com/date-and-time-type-overview.html
For additional information about properties and storage requirements of the temporal types, see Section 11.3, “Date and Time Types”, and Section 11.8, “Data Type Storage Requirements”. For descriptions of functions that operate on temporal ...A value of 0 signifies that there is no fractional ...
https://dev.mysql.com/date-calculations.html
MySQL provides several functions that you can use to perform calculations on dates, for example, to calculate ages or extract parts of dates. Its arguments are the unit in which you want the result expressed, and the two dates for which to take the ...To determine how many years old each of your pets is, use the TIMESTAMPDIFF() ...
https://dev.mysql.com/c-api-prepared-statement-date-handling.html
The binary (prepared statement) protocol enables you to send and receive date and time values (DATE, TIME, DATETIME, and TIMESTAMP), using the MYSQL_TIME structure. For DATE, TIME, DATETIME, or TIMESTAMP values, set buffer_type to MYSQL_TYPE_DATE, ...The members of this structure are described in Section 28.7.9, “C API Prepared Statement Data ...
https://dev.mysql.com/datetime.html
MySQL recognizes DATE, DATETIME, and TIMESTAMP values in several formats, described in Section 9.1.3, “Date and Time Literals”. For the DATE and DATETIME range descriptions, “supported” means that although earlier values might work, there is ...This section describes their characteristics, how they are similar, and how they ...
https://dev.mysql.com/two-digit-years.html
Date values with two-digit years are ambiguous because the century is unknown. For DATETIME, DATE, and TIMESTAMP types, MySQL interprets dates specified with ambiguous year values using these rules: Year values in the range 00-69 are converted to ...Such values must be interpreted into four-digit form because MySQL stores years internally using four ...
Displaying 1 to 10 of 175 total results

Find a PHP function

Document created the 26/06/2006, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/mysql-rf-fct-date-p-1.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:en Manuel MySQL : https://dev.mysql.com/

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut