LOCALTIMESTAMP - Amazon Kinesis Data Analytics SQL Reference
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

LOCALTIMESTAMP

Returns the current timestamp as defined by the environment on Amazon Kinesis Data Analytics application is running. Time is always returned as UTC (GMT), not the local timezone.

For more information, see CURRENT_TIME, CURRENT_DATE, CURRENT_TIMESTAMP, LOCALTIME, and CURRENT_ROW_TIMESTAMP.

Example

values localtimestamp; +--------------------------+ |      LOCALTIMESTAMP      | +--------------------------+ | 2008-08-27 01:13:42.206  | +--------------------------+ 1 row selected (1.133 seconds)

Limitations

Amazon Kinesis Data Analytics does not support the optional <timestamp precision> parameter specified in SQL:2008. This is a departure from the SQL:2008 standard.