数据仓库服务 GAUSSDB(DWS)-时间/日期函数:current_timestamp

时间:2023-11-10 17:34:07

current_timestamp

描述:当前日期及时间。

返回值类型:timestamp with time zone

示例:

1
2
3
4
5
SELECT current_timestamp;
       pg_systimestamp        
------------------------------
 2017-09-01 16:58:19.22173+08
(1 row)
support.huaweicloud.com/sqlreference-dws/dws_06_0309.html