vendredi 2 janvier 2015

Recurring Calender Invite Shows Wrong Timing During Daylight Saving When I Am Sending From C# Application


I am sending a request from my .net application(C#) to create recurring meeting invite in outlook. the meeting invite was showing one hour off during day light saving (march 8th 2015 to 1st nov 2015).


remaining time, my calender shows correct time and i am sending below code to outlook calender.


Please note my application source using EST and destination to all the time zones.


code for the same.



BEGIN:VCALENDAR
PRODID:-//Schedule a Meeting
VERSION:2.0
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20150221T120000Z
DTEND:20150221T123000Z
LOCATION:XYZ, ABC
UID:0c5c9c55-851f-462b-bdf2-48df5991561b
DESCRIPTION;ENCODING=QUOTED-PRINTABLE:Test for UTC Time Zone
SUMMARY:Test for UTC Time Zone
ORGANIZER:MAILTO:myapplication@gmail.com
ATTENDEE;CN="";RSVP=TRUE:mailto:sender@gmail.com.com
RRULE:FREQ=Monthly;COUNT=4;BYDAY=3SA
BEGIN:VALARM
TRIGGER:-PT15M
ACTION:DISPLAY
DESCRIPTION:Reminder
END:VALARM
END:VEVENT
END:VCALENDAR




Aucun commentaire:

Enregistrer un commentaire