PropertyAccessor.LocalTimeToUTC Method (Outlook)
Converts a date-time value specified by Value from the local time format to Coordinated Universal Time (UTC) format.
Version Information
Version Added: Outlook 2007
Syntax
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.
Remarks
For more information on type conversion when using the PropertyAccessor object, see Best Practices for Getting and Setting Properties.