📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

TODAY



Returns current date.

Syntax

TODAY()

Return Type

DATE, returns date in “YYYY-MM-DD” format.

Examples

SELECT TODAY(); ┌────────────┐ │ today() │ ├────────────┤ │ 2024-05-22 │ └────────────┘

Was this page helpful?