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


Menghitung selisih antara waktu di zona waktu ini dengan zona waktu UTC untuk tanggal dan waktu yang ditentukan.

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


| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| date_time_offset | const DateTimeOffset\& | Tanggal dan waktu. |

### ReturnValue

Selisih waktu antara zona waktu.

## Lihat Juga

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


Menghitung selisih antara waktu di zona waktu ini dengan zona waktu UTC untuk tanggal dan waktu yang ditentukan.

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


| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| date_time | DateTime | Tanggal dan waktu. |

### ReturnValue

Selisih waktu antara zona waktu.

## Lihat Juga

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