Apache Presto - current_timestamp


Query

presto:default> select current_timestamp as timestamp;

Result

            timestamp 
-------------------------------------- 
 2016-07-06 13:14:51.911 Asia/Kolkata

The query returns the current timestamp.

apache_presto_sql_functions.htm
Advertisements