xtd
0.2.0
Loading...
Searching...
No Matches
◆
convert_to_utc()
[1/2]
static
xtd::date_time
xtd::time_zone_info::convert_to_utc
(
const
xtd::date_time
&
date_time
,
const
xtd::time_zone_info
&
source_time_zone
)
static
Converts the time in a specified time zone to Coordinated Universal Time (UTC).
Parameters
date_time
The date and time to convert.
source_time_zone
The time zone of dateTime.
Returns
The Coordinated Universal Time (UTC) that corresponds to the
date_time
parameter. The
xtd::date_time
object's
xtd::date_time::kind
property is always set to
xtd::date_time_kind::utc
.
xtd
time_zone_info
Generated on Sat Sep 14 2024 21:25:18 for xtd by
Gammasoft
. All rights reserved.