MySQL CURDATE() Function
Definition and Usage
The CURDATE() function returns the current date.
Note: This function returns the current date as a "YYYY-MM-DD" format if used in a string context, and as a YYYYMMDD format if used in a numeric context.
Note: The CURRENT_DATE() function is a synonym for the CURDATE() function.
Syntax
CURDATE()
Technical Details
Works in: | MySQL 5.7, MySQL 5.6, MySQL 5.5, MySQL 5.1, MySQL 5.0, MySQL 4.1, MySQL 4.0, MySQL 3.23 |
---|