Skip to main content

CURDATE,CURRENT_DATE

Description

Get the current date and return it as a DATE type.

This function is consistent with the curdate function in MySQL.

Aliases

  • current_date

Syntax

CURDATE()

Return Value

The current date, return value is of date type.

Examples

-- Get the current date
SELECT CURDATE();

+------------+
| CURDATE() |
+------------+
| 2019-12-20 |
+------------+