Muokkaa

Jaa


PropertyAccessor.LocalTimeToUTC method (Outlook)

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

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.

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.