td_month_of_year | SQL Date/Time Functions & Expressions | Teradata Vantage - 17.00 - 17.05 - td_month_of_year - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Date and Time Functions and Expressions

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
17.05
Release Date
June 2020
Content Type
Programming Reference
Publication ID
B035-1211-170K
Language
English (United States)

Returns the number of months from the beginning of the year (January 1st) to the specified date.

Syntax

[SYSLIB.] td_month_of_year ( expression )
SYSLIB.
Name of the database where the function is located.
expression
An expression that results in a DATE, TIMESTAMP, or TIMESTAMP WITH TIME ZONE value.