## TimeZoneInfo::GetUtcOffsetFromUtc(DateTime, const TimeZoneInfoPtr\&) method


Internal helper function that returns the UTC offset for a UTC-datetime in a specified time zone. FOR INTERNAL USE.

```cpp
static TimeSpan System::TimeZoneInfo::GetUtcOffsetFromUtc(DateTime time, const TimeZoneInfoPtr &zone)
```

## See Also

* Class [TimeSpan](../../timespan/)
* Class [DateTime](../../datetime/)
* Typedef [TimeZoneInfoPtr](../../timezoneinfoptr/)
* Class [TimeZoneInfo](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
## TimeZoneInfo::GetUtcOffsetFromUtc(DateTime, const TimeZoneInfoPtr\&, bool\&, bool\&) method


Internal helper function that returns the UTC offset for a UTC-datetime in a specified time zone. FOR INTERNAL USE.

```cpp
static TimeSpan System::TimeZoneInfo::GetUtcOffsetFromUtc(DateTime time, const TimeZoneInfoPtr &zone, bool &is_daylight_savings, bool &is_ambiguous_local_dst)
```

## See Also

* Class [TimeSpan](../../timespan/)
* Class [DateTime](../../datetime/)
* Typedef [TimeZoneInfoPtr](../../timezoneinfoptr/)
* Class [TimeZoneInfo](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
