Partager via


PropertyAccessor.UTCToLocalTime Method (Outlook)

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

Version Information

Version Added: Outlook 2007

Syntax

expression .UTCToLocalTime(Value)

expression A variable that represents a PropertyAccessor object.

Parameters

Name

Required/Optional

Data Type

Description

Value

Required

Date

The date-time value to be converted from UTC to local time.

Return Value

A Date 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

Concepts

PropertyAccessor Object Members

PropertyAccessor Object