Export (0) Print
Expand All

PropertyAccessor.LocalTimeToUTC Method (Outlook)

Published: July 16, 2012

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

Version Added: Outlook 2007

expression .LocalTimeToUTC(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 local time to UTC.

Return Value

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

ADD
Show:
© 2014 Microsoft