Business Calendars | Date/Time Functions & Expressions | VantageCloud Lake - Business Calendars - Teradata VantageCloud Lake

Lake - Working with SQL

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
jbe1714339405530.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
jbe1714339405530

A business calendar defines business and non-business days. The significance of a day being a business day or a non-business day is user-determined. For example, a business day may be a work day, and a non-business day may be either a non-working day, a weekend day, a holiday, or a vacation day. You can define different week patterns (weekdays and weekends) and exceptions (holidays and business open and closed days) for the system-defined calendars.

There are three Teradata system-defined business calendars you can set for your session:
  • Teradata
  • ISO
  • COMPATIBLE

These calendars are based on the Gregorian calendar, which has 365 days in most years and 366 days in leap years. The calendars differ in their definition of weeks and whether partial weeks are allowed. You can use macros to specify weekday/weekend patterns and exceptions to the patterns.

The calendars support January 1, 1900, to December 31, 2100. The default session calendar is Teradata. Each calendar defaults to all business days. You can change that pattern using a macro. See Business Calendar Macros.