TD_YEAR_END_UDF

Definition

UDF that reproduces the TD_YEAR_END(DATE) or TD_YEAR_END(DATE, 'COMPATIBLE') functionality from Teradata.

PUBLIC.TD_YEAR_END_UDF(INPUT date)

Parameters

INPUT DATE

The date to get the last day of the year.

Returns

The last day of the year.

Usage example

Input:

Output:

Last updated