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

◆ convert_time() [1/2]

static xtd::date_time xtd::time_zone_info::convert_time ( const xtd::date_time date_time,
const xtd::time_zone_info destination_time_zone 
)
static

Converts a time to the time in a particular time zone.

Parameters
date_timeThe date and time to convert.
destination_time_zoneThe time zone to convert dateTime to.
Returns
The date and time in the destination time zone.
Exceptions
xtd::argument_exceptionThe value of the date_time parameter represents an invalid time.