## TimeZoneInfo::GetUtcOffset(const DateTimeOffset\&) const method


يحسب الفرق بين الوقت في هذه المنطقة الزمنية ومنطقة UTC لتاريخ ووقت محددين.

```cpp
TimeSpan System::TimeZoneInfo::GetUtcOffset(const DateTimeOffset &date_time_offset) const
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| date_time_offset | const DateTimeOffset\& | التاريخ والوقت. |

### ReturnValue

فرق الوقت بين المناطق الزمنية.

## انظر أيضًا

* Class [TimeSpan](../../timespan/)
* Class [DateTimeOffset](../../datetimeoffset/)
* Class [TimeZoneInfo](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## TimeZoneInfo::GetUtcOffset(DateTime) const method


يحسب الفرق بين الوقت في هذه المنطقة الزمنية ومنطقة UTC لتاريخ ووقت محددين.

```cpp
TimeSpan System::TimeZoneInfo::GetUtcOffset(DateTime date_time) const
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| date_time | DateTime | التاريخ والوقت. |

### ReturnValue

فرق الوقت بين المناطق الزمنية.

## انظر أيضًا

* Class [TimeSpan](../../timespan/)
* Class [DateTime](../../datetime/)
* Class [TimeZoneInfo](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
