跳到主要内容

NOW

Returns the current date and time.

Syntax

NOW()

Return Type

TIMESTAMP

Aliases

Examples

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
└─────────────────────────────────────────────────────────┘
开始使用 Databend Cloud
低成本
快速分析
多种数据源
弹性扩展
注册