Skip to main content

TODAY

Returns current date.

Syntax​

TODAY()

Return Type​

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

Examples​

SELECT TODAY();

┌────────────┐
│ today() │
├────────────┤
│ 2024-05-22 │
└────────────┘
Try Databend Cloud for FREE

Multimodal, object-storage-native warehouse for BI, vectors, search, and geo.

Snowflake-compatible SQL with automatic scaling.

Sign up and get $200 in credits.

Try it today