Date and time functions
MySQL's time-related functions are used to manipulate date and time data types. As such, they are very helpful tools for accessing data with optimum speed and minimal overhead.
The MySQL list of date and time-related functions are legion. The full list is contained in the table below (Source: MySQL 5.5 Reference Manual):
Name |
Description |
---|---|
|
Add time values (intervals) to a date value |
|
Add time |
|
Convert from one time zone to another |
|
Return the current date |
|
Synonyms for |
|
Synonyms for |
|
Synonyms for |
|
Return the current time |
|
Add time values (intervals) to a date value |
|
Format date as specified |
|
Subtract two dates |
|
Extract the date part of a date or datetime expression |
|
Subtract two dates |
|
Synonym for |
|