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.

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

PropertyAccessor Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.