System::TimeZoneInfo::ConvertTime 메서드

TimeZoneInfo::ConvertTime(const DateTimeOffset&, const TimeZoneInfoPtr&) method

Convert time to the time in a specified time zone.

static DateTimeOffset System::TimeZoneInfo::ConvertTime(const DateTimeOffset &date_time_offset, const TimeZoneInfoPtr &destination_time_zone)
매개변수형식설명
date_time_offsetconst DateTimeOffset&변환할 날짜 및 시간.
destination_time_zoneconst TimeZoneInfoPtr&대상 시간대.

ReturnValue

변환된 날짜 및 시간.

또 보기

TimeZoneInfo::ConvertTime(DateTime, const TimeZoneInfoPtr&) method

Convert time to the time in a specified time zone.

static DateTime System::TimeZoneInfo::ConvertTime(DateTime date_time, const TimeZoneInfoPtr &destination_time_zone)
매개변수형식설명
date_timeDateTime변환할 날짜 및 시간.
destination_time_zoneconst TimeZoneInfoPtr&대상 시간대.

ReturnValue

변환된 날짜 및 시간.

또 보기

TimeZoneInfo::ConvertTime(DateTime, const TimeZoneInfoPtr&, const TimeZoneInfoPtr&) method

Convert time from one time zone to another.

static DateTime System::TimeZoneInfo::ConvertTime(DateTime date_time, const TimeZoneInfoPtr &source_time_zone, const TimeZoneInfoPtr &destination_time_zone)
매개변수형식설명
date_timeDateTime변환할 날짜 및 시간.
source_time_zoneconst TimeZoneInfoPtr&원본 시간대.
destination_time_zoneconst TimeZoneInfoPtr&대상 시간대.

ReturnValue

변환된 날짜 및 시간.

또 보기