# Get Date Info

Returns detailed information about a given date: day of the year, day of the week and week of the year.


---

### :arrow_left:**INPUT**

| **Parameter** | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `Date`    | `DateTime` | ✅ Yes    | Date to get information for |
| `CalendarWeekRule` | `Int32` | ❌ No     | Calendar week rule (culture-dependent) |
| `FirstDayOfWeek` | `Int32` | ❌ No     | First day of the week (0=Sunday, 1=Monday, etc.) |


---

### :arrow_right:**OUTPUT**

| **Parameter** | **Type** | **Description** |
|-----------|------|-------------|
| `IsGetDateInfoSuccessful` | `Boolean` | Whether the operation succeeded |
| `GetDateInfoMessage` | `string` | Operation result message |
| `DayOfYear` | `Int32` | Day of the year (1–366) |
| `DayOfWeek` | `Int32` | Day of the week (numeric value) |
| `WeekOfYear` | `Int32` | Week of the year |



---

### :arrow_down:**MISC**

| **Parameter** | **Type** | **Default** | **Description** |
|-----------|------|---------|-------------|
| `ThrowException` | `Boolean` | ❌No     | Whether to throw an exception on error |