A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

OOM and IMessage show different calendar times?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 6th 06, 06:06 PM posted to microsoft.public.outlook.program_addins
Beiley
external usenet poster
 
Posts: 4
Default OOM and IMessage show different calendar times?

I have some calendar items that I'm observing with OutlookSpy. When I
open the event up with "Current Item" I see some values for "Start" and
"End" that are different from the times I see when I open it up with
"IMessage". The problem seems to be related to time zones, as the
"Current Item" times are off by 5 hours from what they are supposed to
be. The "IMessage" times are correct according to what is displayed on
the Outlook calendar.

Are the IMessage times in GMT, and the "Current Item" times in local
time?

How can you get the correct time using "Current Item" (OOM)?

Thanks,
Mark
http://www.beiley.com

  #2  
Old February 6th 06, 06:14 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default OOM and IMessage show different calendar times?

Yes, MAPI stores all datetime properties in the UTC timezone and OOM only
uses the local timezone.
Are you asking how to convert local timezone to UTC? What are you trying to
do?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Beiley" wrote in message
oups.com...
I have some calendar items that I'm observing with OutlookSpy. When I
open the event up with "Current Item" I see some values for "Start" and
"End" that are different from the times I see when I open it up with
"IMessage". The problem seems to be related to time zones, as the
"Current Item" times are off by 5 hours from what they are supposed to
be. The "IMessage" times are correct according to what is displayed on
the Outlook calendar.

Are the IMessage times in GMT, and the "Current Item" times in local
time?

How can you get the correct time using "Current Item" (OOM)?

Thanks,
Mark
http://www.beiley.com



  #3  
Old February 7th 06, 06:25 PM posted to microsoft.public.outlook.program_addins
Beiley
external usenet poster
 
Posts: 4
Default OOM and IMessage show different calendar times?

Hi Dmitry,

Thanks for the help. I'm trying to get the event's local time. I've
been using OOM, and it has worked fine for most cases. I have one
customer who has events that have been added to their calendar as
accepted meeting requests. They show up on their calendar at a certain
time, say 1pm. If they open up that event it says "8am (GMT -5:00
EST)" in the header. OutlookSpy shows the event's local time as 8am
also, but for some reason it shows up as 1pm on their calendar, which
is what they believe the correct time should be (1pm). They have the
displayed time zone set to EST in Outlook and also in Windows, yet for
some reason it shows 1pm on the calendar view, but 8am on the event
item view. It seems like the calendar is displaying in GMT, rather
than EST, but it is set to EST in "Tools / Options... / Calendar
Options / Time Zone". I'm confused as to why/how that could be. Any
ideas?

Thanks,
Mark
http://www.beiley.com

  #4  
Old February 8th 06, 05:44 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default OOM and IMessage show different calendar times?

Did you look at the Extended MAPI message (click IMessage button) or the
Outlook.AppointmentItem object (click Item button)?
What timezone was the meeting created in? If it has the timezone info
different from the current one, all times will be offset appropriately in
the UI and the Object Model.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Beiley" wrote in message
oups.com...
Hi Dmitry,

Thanks for the help. I'm trying to get the event's local time. I've
been using OOM, and it has worked fine for most cases. I have one
customer who has events that have been added to their calendar as
accepted meeting requests. They show up on their calendar at a certain
time, say 1pm. If they open up that event it says "8am (GMT -5:00
EST)" in the header. OutlookSpy shows the event's local time as 8am
also, but for some reason it shows up as 1pm on their calendar, which
is what they believe the correct time should be (1pm). They have the
displayed time zone set to EST in Outlook and also in Windows, yet for
some reason it shows 1pm on the calendar view, but 8am on the event
item view. It seems like the calendar is displaying in GMT, rather
than EST, but it is set to EST in "Tools / Options... / Calendar
Options / Time Zone". I'm confused as to why/how that could be. Any
ideas?

Thanks,
Mark
http://www.beiley.com



  #5  
Old February 9th 06, 05:57 PM posted to microsoft.public.outlook.program_addins
Beiley
external usenet poster
 
Posts: 4
Default OOM and IMessage show different calendar times?

I looked at both of those (IMessage and Item), and they are offset
correctly by 5 hours due to the timezone info (EST). However, if you
look at the event on the calendar it is displaying as if the calendar
was in UTC, rather than the specified EST time zone set under "Tools /
Options... / Calendar / Time Zone Info". This Outlook installation is
using an "iPlanet" server as opposed to Exchange. The iPlanet
installation is located in a UTC time zone, and I suspect it is somehow
causing times to display in Outlook on UTC time, rather than the
locally specified time zone (EST).

This problem only shows up on events created by receiving a meeting
request. The request comes from another Outlook with the same time
zone settings (EST). Events created on the calendar not though
accepting a meeting request work properly.

Thanks,
Mark
http://www.beiley.com

  #6  
Old February 9th 06, 06:37 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default OOM and IMessage show different calendar times?

Don't know anything about iPlanet, sorry.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Beiley" wrote in message
oups.com...
I looked at both of those (IMessage and Item), and they are offset
correctly by 5 hours due to the timezone info (EST). However, if you
look at the event on the calendar it is displaying as if the calendar
was in UTC, rather than the specified EST time zone set under "Tools /
Options... / Calendar / Time Zone Info". This Outlook installation is
using an "iPlanet" server as opposed to Exchange. The iPlanet
installation is located in a UTC time zone, and I suspect it is somehow
causing times to display in Outlook on UTC time, rather than the
locally specified time zone (EST).

This problem only shows up on events created by receiving a meeting
request. The request comes from another Outlook with the same time
zone settings (EST). Events created on the calendar not though
accepting a meeting request work properly.

Thanks,
Mark
http://www.beiley.com



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Print Outlook Calendar without "Ending Times" - only "Start Times" Jimmy Outlook - Calandaring 0 February 9th 06 05:58 PM
How to make appt. start times show up in month view Macbeck Outlook - Calandaring 0 February 7th 06 02:49 PM
Show Appointment Times! Alan Lindsay Outlook - Calandaring 0 February 2nd 06 10:26 PM
End times should show properly in Outlook month view. vchemcso Outlook - Calandaring 0 February 2nd 06 07:50 PM
Start and end times for appointments do not appear in Calendar. novice Outlook - Calandaring 0 February 1st 06 02:42 PM


All times are GMT +1. The time now is 10:32 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-2025 Outlook Banter.
The comments are property of their posters.