Reputation: 10161
I am using this example code to send a meeting request. I am having a problem: every time I use the code, the meeting time is always the wrong time.
For example: DTSTART:20120710T143000Z
gives an appointment in Outlook Tuesday, July 10, 2012 4:30 PM-5:30 PM
when it should give Tuesday, July 10, 2012 2:30 PM-3:30 PM
. Why is that happening?
Our local time is UTC/GMT +3 (Jordan Standard Time) in the summer and UTC/GMT +2 in the winter. Every time I make an appointment through outlook it is always the right time.
Upvotes: 1
Views: 2385
Reputation: 10557
The start time you place in your appointment should be a UTC time. I suspect you are a inserting local (Jordan) time. This explains the two hour difference, because afaik UTC does not take daylight saving time into account.
SO resources:
Upvotes: 2