|
static |
Converts the specified date and time to Coordinated Universal Time (UTC).
dateTime | The date and time to convert. |
ArgumentNullException | dateTime is null. |
ArgumentException | time_zone_info::Local().IsInvalidxtd::date_time(dateTime) returns true. |