xtd 0.2.0
Loading...
Searching...
No Matches

◆ convert_time_by_system_time_zone_id() [2/2]

static xtd::date_time xtd::time_zone_info::convert_time_by_system_time_zone_id ( const xtd::date_time date_time,
const xtd::string source_time_zone_id,
const xtd::string destination_time_zone_id 
)
static

Converts a time from one time zone to another based on time zone identifiers.

Parameters
date_timeThe date and time to convert.
source_time_zone_idThe identifier of the source time zone.
destintion_time_zone_idThe identifier of the destination time zone.
Returns
The date and time in the destination time zone that corresponds to the dateTime parameter in the source time zone.