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

ParameterTypeDescription
date_timeDateTimeDate and time to convert.
destination_time_zoneconst TimeZoneInfoPtr&Destination time zone.

Return Value

Converted date and time.

See Also