NOW
Learn how to use the NOW datetime function in PlaidCloud Lakehouse. Returns the current date and time. Includes detailed syntax, examples, and usage reference.
Returns the current date and time.
Analyze Syntax
func.now()
Analyze Examples
┌─────────────────────────────────────────────────────────┐
│ func.current_timestamp() │ func.now() │
├────────────────────────────┼────────────────────────────┤
│ 2024-01-29 04:38:12.584359 │ 2024-01-29 04:38:12.584417 │
└─────────────────────────────────────────────────────────┘
SQL Syntax
NOW()
Return Type
TIMESTAMP
Aliases
SQL Examples
This example returns the current date and time:
SELECT CURRENT_TIMESTAMP(), NOW();
┌─────────────────────────────────────────────────────────┐
│ current_timestamp() │ now() │
├────────────────────────────┼────────────────────────────┤
│ 2024-01-29 04:38:12.584359 │ 2024-01-29 04:38:12.584417 │
└─────────────────────────────────────────────────────────┘