Skip to content

Returns the current date and time.

func.now()
┌─────────────────────────────────────────────────────────┐
│ func.current_timestamp() │ func.now() │
├────────────────────────────┼────────────────────────────┤
2024-01-29 04:38:12.5843592024-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.5843592024-01-29 04:38:12.584417
└─────────────────────────────────────────────────────────┘