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

◆ convert_time_by_system_time_zone_id() [1/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 destination_time_zone_id 
)
static

Converts a time to the time in another time zone based on the time zone's identifier.

Parameters
date_timeThe date and time to convert.
destination_time_zone_idThe identifier of the destination time zone.
Returns
The date and time in the destination time zone.