This topic describes how to use the date function CURRENT_DATE in Realtime Compute.

Syntax

CURRENT_DATE  

Description

Returns the current system date.

Example

  • Test statements
    SELECT CURRENT_DATE as res
    FROM T1;            
  • Test results
    res(DATE)
    2018-09-20