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
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.
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin