## TimeZoneInfo::IsDaylightSavingTime(const DateTimeOffset\&) const method


Checks if specified date and time falls in range of daylight saving time.

```cpp
bool System::TimeZoneInfo::IsDaylightSavingTime(const DateTimeOffset &date_time_offset) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| date_time_offset | const DateTimeOffset\& | Date and Time. |

### ReturnValue

True if date_time is a daylight saving time.

## See Also

* Class [DateTimeOffset](../../datetimeoffset/)
* Class [TimeZoneInfo](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
## TimeZoneInfo::IsDaylightSavingTime(DateTime) const method


Checks if specified date and time falls in range of daylight saving time.

```cpp
bool System::TimeZoneInfo::IsDaylightSavingTime(DateTime date_time) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| date_time | DateTime | Date and Time. |

### ReturnValue

True if date_time is a daylight saving time.

## See Also

* Class [DateTime](../../datetime/)
* Class [TimeZoneInfo](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
