View Single Post
  #2  
Old January 7th 09, 12:43 AM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Time Stamp on Messages

How and when doyou read the property? It is supposed to be stored in the UTC
timezone. Outlook UI and CDO 1.21 (through the Message.ReceivedTime
property) convert the value to teh local timezone.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Bob Smith" wrote in message
...
I appear to be missing something with relation to timezones.

I am using CDO to connect to two seperate mailboxes. When I send a message
to both of these mailboxes at the same time, the result I get for
oMessage.TimeReceived are different by a factor of 7 hours. The strange
thing
is, I checked in outlook, the received time looks correct for both. I also
checked under ToolsOptionsCalender OptionsTime Zone. They are both set
to
Mountain Standard.

Since the script is running on the same machine to connect to these two
mailboxes I have ruled out any regional time settings on the local client.
Is
there somewhere else timezone information is stored for the mailbox? Both
mailboxes are on the same exchange server also.




Ads