Skip to content

Returns the current date and time.

func.now()
┌─────────────────────────────────────────────────────────┐
│ func.current_timestamp() │ func.now() │
├────────────────────────────┼────────────────────────────┤
│ 2024-01-29 04:38:12.584359 │ 2024-01-29 04:38:12.584417 │
└─────────────────────────────────────────────────────────┘
NOW()

TIMESTAMP

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 │
└─────────────────────────────────────────────────────────┘