This documentation is archived and is not being maintained.

_PropertyAccessor.UTCToLocalTime Method

Converts the DateTime value that is specified by Value and expressed in Coordinated Universal Time (UTC) to a value in local time.

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

DateTime UTCToLocalTime(
	DateTime Value


Type: System.DateTime

The DateTime value to be converted from UTC to local time.

Return Value

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

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