|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Applications: MySQL > doc > refman > 6.0 > endate-and-time-functions.html (Request Expert MySQL Support)
Skip navigation links Additional languages MySQL 6.0 Reference Manual :: 11 Functions and Operators :: 11.6 Date and Time Functions Section Navigation [Toggle]
This section describes the functions that can be used to manipulate temporal values. See Section 10.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.
Here is an example that uses date functions. The following query
selects all rows with a mysql> Note that the query also selects rows with dates that lie in the future. Functions that expect date values usually accept datetime values and ignore the time part. Functions that expect time values usually accept datetime values and ignore the date part.
Functions that return the current date or time each are evaluated
only once per query at the start of query execution. This means
that multiple references to a function such as
The
Some date functions can be used with âzeroâ dates or
incomplete dates such as mysql>
Other functions expect complete dates and return
mysql>
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||


