Table Details
| Property | Value |
|---|---|
| Table Name | common.utility.dates |
| Table Status | Production-Ready |
| Unique Key | date_timestamp |
| Clustering Key(s) | date_timestamp::date |
Table Columns
| Column Name | Data Type | Description |
|---|---|---|
| date_timestamp | DATE | Calendar date (UTC). |
| day_name | VARCHAR(16777216) | Full name of the day of the week (e.g., Monday, Tuesday). |
| is_weekend | BOOLEAN | True if the date falls on a Saturday or Sunday. |
| previous_day | DATE | Calendar date of the day immediately preceding this date. |
| next_day | DATE | Calendar date of the day immediately following this date. |
| date_year | NUMBER(38,0) | Calendar year as an integer (e.g., 2025). |
| date_quarter | NUMBER(38,0) | Calendar quarter as an integer (1–4). |
| day_of_month | NUMBER(38,0) | Day of the month as an integer (1–31). |
| date_day | NUMBER(38,0) | Day of the month as an integer (1–31). |
| day_of_week | NUMBER(38,0) | Day of the week as an integer, 0 = Sunday through 6 = Saturday. |
| day_of_year | NUMBER(38,0) | Day of the year as an integer (1–366). |
| week_of_year | NUMBER(38,0) | ISO week number within the year (1–53). |
| week_start_date | DATE | Calendar date of the first day (Monday) of the ISO week containing this date. |
| week_end_date | DATE | Calendar date of the last day (Sunday) of the ISO week containing this date. |
| month_start_date | DATE | First calendar date of the month containing this date. |
| month_end_date | DATE | Last calendar date of the month containing this date. |
| quarter_start_date | DATE | First calendar date of the quarter containing this date. |
| quarter_end_date | DATE | Last calendar date of the quarter containing this date. |
| fiscal_year | NUMBER(5,0) | Fiscal year, in a fiscal calendar that starts on 1 February: January belongs to the previous fiscal year. |
| fiscal_month | NUMBER(2,0) | Fiscal month (1–12), in a fiscal calendar that starts on 1 February: February is 1, January is 12. |
| fiscal_quarter | NUMBER(1,0) | Fiscal quarter (1–4), in a fiscal calendar that starts on 1 February: Q1 is February to April, Q4 is November to January. |