Updated on 2026-11-06 GMT+08:00

current_timestamp

The current_timestamp function is used to return the current timestamp.

Syntax

current_timestamp()

Parameters

None

Return Values

Returns a timestamp of type TIMESTAMP.

Example Code

select current_timestamp();

Returns 1692002816300.