> ## Documentation Index
> Fetch the complete documentation index at: https://docs.allium.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Hours

Hour-level dimension table with one row per hour (UTC). Provides time-of-day attributes including hour-of-day, AM/PM, day part, and business hours flag for time series analysis.

### Table Details

| Property | Value |
| - | - |
| Table Name | `common.utility.hours` |
| Table Status | Production-Ready |
| Unique Key | `hour_timestamp` |
| Clustering Key(s) | `hour_timestamp::date` |

### Table Columns

| Column Name | Data Type | Description |
| - | - | - |
| hour\_timestamp | TIMESTAMP\_NTZ(9) | UTC timestamp representing the start of this hour (minutes and seconds zeroed out). |
| date | DATE | Calendar date (UTC) this record represents. Used in daily aggregate tables. |
| hour\_of\_day | NUMBER(38,0) | Hour of the day as an integer (0–23, UTC). |
| am\_pm | VARCHAR(2) | AM or PM designation for this hour (AM for hours 0–11, PM for hours 12–23). |
| hour\_display | VARCHAR(16777216) | Human-readable hour label (e.g., "2 PM", "11 AM"). |
| day\_part | VARCHAR(9) | Part of the day for this hour (UTC): Morning (5–11), Afternoon (12–16), Evening (17–20) or Night (21–4). |
| is\_business\_hour | BOOLEAN | True for hours 9 through 16 UTC (9 AM to 5 PM), on every day of the week including weekends. |
| previous\_hour | TIMESTAMP\_NTZ(9) | UTC timestamp of the immediately preceding hour. |
| next\_hour | TIMESTAMP\_NTZ(9) | UTC timestamp of the immediately following hour. |
| day\_of\_week | NUMBER(38,0) | Day of the week as an integer, 0 = Sunday through 6 = Saturday. |
| day\_name | VARCHAR(16777216) | Full name of the day of the week (e.g., Monday, Tuesday). |
| month | NUMBER(38,0) | Month of the year as an integer (1–12). |
| year | NUMBER(38,0) | Calendar year as an integer (e.g., 2025). |
| quarter | NUMBER(38,0) | Calendar quarter as an integer (1–4). |
