Daylight savings time adjustment in Outlook Meeting (.vcs) file?
Posted on 2002-05-02
I'm dynamically creating a Microsoft Outlook Meeting file (.vcs file) through an ASP page that gets appointment info out of a database. I then link to that file on the web page. This process works fine.
Here's the problem:
Appointment times are all in US Eastern Standard Time. When I create the .vcs file, I generate the time for the appointment to be in GMT (so I add 5 hours to the appointment time).
10:00 am EST = 3:00 pm GMT
so in a vcs file...
5/2/2002 10:00am EST = 20020502T150000Z
This supposedly should automatically make the adjustment in a client's Outlook when they open up the vcs file. However, ever since daylight savings time has passed, some of my users around the world have been getting appointment times showing up as an hour off.
I ran a couple of tests on my machine and I noticed that when I have the Windows setting: 'Automatically adjust for daylight savings' turned on, the times are 1 hour out of whack. When I turn it off, the times are ok.
Anyone have any ideas on how to get around this? Any way of determining if a clients system is set to automatically adjust daylight savings?
Thanks in advance...