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

変換後の日時。

参照