CURDATE() returns the current system date without any time component. This function is useful for date-based calculations, filtering, and reporting where only the date portion is needed. The date is returned in the system's default date format.
CURDATE()
CURDATE() returns a date value in the format YYYY-MM-DD
CURDATE() = 2024-03-19 (if run on March 19, 2024)
CURDATE() + 1 = 2024-03-20 (tomorrow's date)
CURDATE() - 1 = 2024-03-18 (yesterday's date)
CURDATE() + INTERVAL '1' MONTH = 2024-04-19 (next month)
CURDATE() + INTERVAL '1' YEAR = 2025-03-19 (next year)