Export (0) Print
Expand All

_PropertyAccessor.LocalTimeToUTC Method

Converts a DateTime value specified by Value from the local time format to Coordinated Universal Time (UTC) format.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

DateTime LocalTimeToUTC(
	DateTime Value


Type: System.DateTime
The DateTime value to be converted from local time to UTC.

Return Value

Type: System.DateTime
A DateTime value that represents Value after being converted from local time to UTC.

For more information on type conversion when using the PropertyAccessor object, see Best Practices for Getting and Setting Properties.

Community Additions

© 2014 Microsoft