![]() |
Converting date to UTC
Is there any possibility in vba to convert a datetime from a know timezone to
utc? |
Converting date to UTC
Only in Outlook 2007 using the new TimeZones collection (returned by
Application.Timezones) or PropertyAccessor.LocalTimeToUTC (see MailItem/Folder/Store/Attachment.PropertyAccessor property, local timezone only). plug Next version of Redemption will expose Timezones in all version of Outlook and will allow to convert datetime from a given timezone to UTC using RDOTimezone.LocalTimeToUTC (Outlook 2007 only allows to use Timezones.ConvertTime with 2 time zones specified as parameters, but it does not explicitly let you retrieve the UTC timezone) /plug Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "HolgerMaune" wrote in message ... Is there any possibility in vba to convert a datetime from a know timezone to utc? |
All times are GMT +1. The time now is 07:12 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com