Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TimeZoneInfo::ConvertTimeToUtc Method

 

Converts a date and time to Coordinated Universal Time (UTC).

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticConvertTimeToUtc(DateTime)

Converts the specified date and time to Coordinated Universal Time (UTC).

System_CAPS_pubmethodSystem_CAPS_staticConvertTimeToUtc(DateTime, TimeZoneInfo^)

Converts the time in a specified time zone to Coordinated Universal Time (UTC).

Return to top
Show:
© 2017 Microsoft