次の方法で共有


_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)

Syntax

'Declaration
<DispIdAttribute()> _
Function UTCToLocalTime ( _
    Value As DateTime _
) As DateTime
'Usage
Dim instance As _PropertyAccessor
Dim Value As DateTime
Dim returnValue As DateTime

returnValue = instance.UTCToLocalTime(Value)
[DispIdAttribute()]
DateTime UTCToLocalTime(
    DateTime Value
)

Parameters

  • 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.

Remarks

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

See Also

Reference

_PropertyAccessor Interface

_PropertyAccessor Members

Microsoft.Office.Interop.Outlook Namespace