## TimeZoneInfo::ConvertTimeBySystemTimeZoneId(const DateTimeOffset\&, const String\&) method


[Convert](../../convert/) time to the time in a specified time zone.

```cpp
static DateTimeOffset System::TimeZoneInfo::ConvertTimeBySystemTimeZoneId(const DateTimeOffset &date_time_offset, const String &destination_time_zone_id)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| date_time_offset | const DateTimeOffset\& | التاريخ والوقت للتحويل. |
| destination_time_zone_id | const String\& | معرف المنطقة الزمنية الوجهة. |

### ReturnValue

التاريخ والوقت المحوَّل.

## انظر أيضًا

* Class [DateTimeOffset](../../datetimeoffset/)
* Class [String](../../string/)
* Class [TimeZoneInfo](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## TimeZoneInfo::ConvertTimeBySystemTimeZoneId(DateTime, const String\&) method


[Convert](../../convert/) time to the time in a specified time zone.

```cpp
static DateTime System::TimeZoneInfo::ConvertTimeBySystemTimeZoneId(DateTime date_time, const String &destination_time_zone_id)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| date_time | DateTime | التاريخ والوقت للتحويل. |
| destination_time_zone_id | const String\& | معرف المنطقة الزمنية الوجهة. |

### ReturnValue

التاريخ والوقت المحوَّل.

## انظر أيضًا

* Class [DateTime](../../datetime/)
* Class [String](../../string/)
* Class [TimeZoneInfo](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## TimeZoneInfo::ConvertTimeBySystemTimeZoneId(DateTime, const String\&, const String\&) method


[Convert](../../convert/) time to the time in a specified time zone.

```cpp
static DateTime System::TimeZoneInfo::ConvertTimeBySystemTimeZoneId(DateTime date_time, const String &source_time_zone_id, const String &destination_time_zone_id)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| date_time | DateTime | التاريخ والوقت للتحويل. |
| source_time_zone_id | const String\& | معرّف المنطقة الزمنية المصدر. |
| destination_time_zone_id | const String\& | معرف المنطقة الزمنية الوجهة. |

### ReturnValue

التاريخ والوقت المحوَّل.

## انظر أيضًا

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