All datasets

MySQL Date Functions

MySQL date functions and descriptions of their uses.

Download options

The records

10 of 50 records · Select a column heading to sort.

ID Function Description
1 ADDDATE Adds a time/date interval to a date and then returns the date
2 ADDTIME Adds a time interval to a time/datetime and then returns the time/datetime
3 CURDATE Returns the current date
4 CURRENT_DATE Returns the current date
5 CURRENT_TIME Returns the current time
6 CURRENT_TIMESTAMP Returns the current date and time
7 CURTIME Returns the current time
8 DATE Extracts the date part from a datetime expression
9 DATEDIFF Returns the number of days between two date values
10 DATE_ADD Adds a time/date interval to a date and then returns the date

Scope and sources

Last checked against sources: October 15, 2026.

Last changed: July 17, 2026. This is when we last changed the data or its description. It doesn’t mean the data runs up to that date.

A complete download includes all 50 records currently held in this dataset. Check the description and sources to decide whether its scope fits your project.

Use this dataset through the API
GET https://mysafeinfo.com/api/data/mysqldatefunctions

Choose a format, sort, or request fewer rows. A pass key gives access to the complete dataset. See the examples and parameters.

Without a pass, sorting and randomization apply only to the fixed 10-row sample.

More in Technology

Country-Code Top-Level Domains HTTP Status Codes Microsoft Access Data Types SQL Keywords MIME Types Programming Languages

Download a category with your pass