Metode System::TimeZoneInfo::GetUtcOffset
isi
[
bersembunyi
]TimeZoneInfo::GetUtcOffset(const DateTimeOffset&) const method
Menghitung selisih antara waktu di zona waktu ini dengan zona waktu UTC untuk tanggal dan waktu yang ditentukan.
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
- Class 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.
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
- Class DateTime
- Class TimeZoneInfo
- Namespace System
- Library Aspose.Page for C++