
## GetWorkingHours (1 of 2) {#getworkinghours_1}

Returns the amount of working hours at the specified date.

**Returns:** Working hours at the specified date.

```cpp
GetWorkingHours(System::DateTime dt)
```

| Parameter | Description |
| --- | --- |
| dt | The date to get working hours for. |

---

## GetWorkingHours (2 of 2) {#getworkinghours_2}

Return WorkUnit - Start, Finish and Duration of working hours for the specified date time interval.

**Returns:** Instance of WorkUnit class containing Start, Finish and Duration of working hours.

```cpp
GetWorkingHours(System::DateTime start, System::DateTime finish)
```

| Parameter | Description |
| --- | --- |
| start | Start date of the interval. |
| finish | Finish date of the interval. |

