TODAY
Returns current date.
Analyze Syntax
func.today()
Analyze Examples
func.today()
+--------------+
| func.today() |
+--------------+
| 2021-09-03 |
+--------------+
SQL Syntax
TODAY()
Return Type
DATE
, returns date in “YYYY-MM-DD” format.
SQL Examples
SELECT TODAY();
+------------+
| TODAY() |
+------------+
| 2021-09-03 |
+------------+
Last modified June 12, 2024 at 9:53 PM EST: updating datetime functions (f087f54)