ConvertTimeFromUtc()
TimeZoneInfo::ConvertTimeFromUtc(DateTime, const TimeZoneInfoPtr&) method
Converts UTC-time to the time in a specified time zone.
static DateTime System::TimeZoneInfo::ConvertTimeFromUtc(DateTime date_time, const TimeZoneInfoPtr &destination_time_zone)
Arguments
Parameter | Type | Description |
---|---|---|
date_time | DateTime | Date and time to convert. |
destination_time_zone | const TimeZoneInfoPtr& | Destination time zone. |
Return Value
Converted date and time.
See Also
- Typedef TimeZoneInfoPtr
- Class DateTime
- Class TimeZoneInfo
- Namespace System
- Library Aspose.Slides