PC Review


Reply
Thread Tools Rate Thread

How do I create recurring appointments in different Timezones?

 
 
Haxsyn
Guest
Posts: n/a
 
      28th Nov 2003
I've written a VB COM AddIn for Outlook which imports meetings from a
server and adds them to a user's Outlook calendar (Not connected to an
exchange server). This works for most types of recurring appointments
but I'm having difficulty with different user Timezones. (N.B. this
isn't a one off import and will run often to keep Outlook in synch.
with the source) I get the appointment details in GMT

I have an appointment that occurs the first Wednesday of the month at
13:00 GMT.

If a user views this from a TimeZone GMT+12 this actually occurs at
01:00 on the Thursday.

The problem is how do I create this appointment in an Outlook calendar
set to TimeZone GMT+12?

At first I thought if I set it to occur the first Thursday of every
month at 1:00 this would work, but if the first day of the month is a
Thursday (e.g. January 2004) it would appear on the 1st instead of the
8th (first Wednesday GMT is the 7th).

Is there a way of creating (programmatically) recurring appointments
using GMT times (when the user is using GMT+12) and letting Outlook
correct them?

If I change the timezone to GMT manually and create the appointment to
recur every first Wednesday of the month and then change the Timezone
to GMT+12 it correctly displays the appointments.

Does anybody know of a way of doing this in a VB AddIn ?
 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      3rd Dec 2003
All times in Outlook for events and appointments are stored in GMT.
You can see that using OutlookSpy (www.dimastr.com). Outlook
automatically converts the GMT times into local time based on the
user's local settings. The Outlook object model doesn't expose the
local time settings.

You can use CDO 1.21 code, which has a Session.GetOption("TimeZone")
method and use that information to convert everything to what you want
using the offsets from GMT or you can read the local settings from the
Windows registry. There is information about doing that in the MSDN
library.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Haxsyn" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I've written a VB COM AddIn for Outlook which imports meetings from

a
> server and adds them to a user's Outlook calendar (Not connected to

an
> exchange server). This works for most types of recurring

appointments
> but I'm having difficulty with different user Timezones. (N.B. this
> isn't a one off import and will run often to keep Outlook in synch.
> with the source) I get the appointment details in GMT
>
> I have an appointment that occurs the first Wednesday of the month

at
> 13:00 GMT.
>
> If a user views this from a TimeZone GMT+12 this actually occurs at
> 01:00 on the Thursday.
>
> The problem is how do I create this appointment in an Outlook

calendar
> set to TimeZone GMT+12?
>
> At first I thought if I set it to occur the first Thursday of every
> month at 1:00 this would work, but if the first day of the month is

a
> Thursday (e.g. January 2004) it would appear on the 1st instead of

the
> 8th (first Wednesday GMT is the 7th).
>
> Is there a way of creating (programmatically) recurring appointments
> using GMT times (when the user is using GMT+12) and letting Outlook
> correct them?
>
> If I change the timezone to GMT manually and create the appointment

to
> recur every first Wednesday of the month and then change the

Timezone
> to GMT+12 it correctly displays the appointments.
>
> Does anybody know of a way of doing this in a VB AddIn ?



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Create Recurring Appointments Karine Rivet Microsoft Outlook Calendar 0 26th Oct 2006 04:51 PM
How can I create recurring appointments with conflict alerts? =?Utf-8?B?TGVzbGllSA==?= Microsoft Outlook Calendar 0 15th Aug 2005 03:09 PM
Contact birthday entries create recurring calendar appointments: =?Utf-8?B?bm9ybQ==?= Microsoft Outlook Contacts 3 1st Jan 2005 08:26 PM
how to make chronological list of appointments, non-recurring and recurring Spoon2001 Microsoft Outlook Discussion 0 6th Aug 2003 10:32 PM
Appointments & Timezones Nick Prior Microsoft Outlook Calendar 1 24th Jul 2003 07:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:50 AM.