CURRENT_DATE

Date function

Description

CURRENT_DATE returns a date in the current session time zone (UTC by default) in the default format: YYYY-MM-DD. (RedShift SQL Language Reference CURRENT_DATE)

Grammar Syntax

CURRENT_DATE

Sample Source Patterns

Input Code:

IN -> Redshift_01.sql
SELECT CURRENT_DATE;

Output Code:

OUT -> Redshift_01.sql
SELECT
    CURRENT_DATE();

Recommendations

There are no recommendations.

There are no known issues.

Last updated