
## CheckException {#checkexception}

Returns true if the specified instance of the DateTime struct is the exception day.

**Returns:** Returns true if DateTime value is the exception day; otherwise, false.

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

| Parameter | Description |
| --- | --- |
| dt | the specified instance of the DateTime struct. |

