Actual time: current_date

Syntax

current_date()

Input parameters

None.

Examples of valid syntaxes

current_date()

Semantics for scalar operations

The operator current_date returns the current time as a date type.

Input parameters type

This operator has no input parameters.

Result type

result

date

Additional Constraints

None.

Behavior

The operator returns the current date.

Examples

Example 1

DS_r := current_date();

Example 2

DS_r := cast ( current_date(), string, “YYYY.MM.DD” );