doc-exports/docs/dli/sqlreference/dli_spark_current_timestamp.html
Su, Xiaomeng 76a5b1ee83 dli_sqlreference_20240227
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
Co-committed-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
2024-03-27 22:02:33 +00:00

1.7 KiB

current_timestamp

This function is used to return the current timestamp.

Syntax

current_timestamp()

Parameters

None

Return Values

The return value is of the TIMESTAMP type.

Example Code

The value 1692002816300 is returned.

select current_timestamp();