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: