td_weekday_of_month | SQL Date/Time Functions & Expressions | Teradata Vantage - 17.00 - 17.05 - td_weekday_of_month - 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 nth occurrence of the weekday in the month for the specified date.

Syntax

[SYSLIB.] td_weekday_of_month ( 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.