System::TimeZoneInfo::ConvertTimeFromUtc method

TimeZoneInfo::ConvertTimeFromUtc 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)
ParameterTypeDescription
date_timeDateTimeDate and time to convert.
destination_time_zoneconst TimeZoneInfoPtr&Destination time zone.

ReturnValue

Converted date and time.

See Also