Hi,

I am fetching data from my Google calendar with many of the events a Recurring. 
My current Google Calendar is in IST (i keep this changing when i move across 
countries) but my machine is in PST and one of my Recurring events are of the 
form :

<gd:recurrence>DTSTART;TZID=Asia/Calcutta:20070807T080000 
DTEND;TZID=Asia/Calcutta:20070807T093000 RRULE:FREQ=DAILY;COUNT=20;INTERVAL=1 
BEGIN:VTIMEZONE TZID:Asia/Calcutta X-LIC-LOCATION:Asia/Calcutta BEGIN:STANDARD 
TZOFFSETFROM:+0530 TZOFFSETTO:+0530 TZNAME:IST DTSTART:19700101T000000 
END:STANDARD END:VTIMEZONE</gd:recurrence> 

Now, the question is how do i parse the above string to convert this into a 
Recurring event on my machine ? I actually want to know that the above 
information suggests that TZID for my event is Asia/Calcutta and time (local) 
in google calendar is 8:00 AM. How do i know which time it is in PST ?

I want to get the UTCoffset in which my event was created so that i can easily 
convert to its equivalent time on my machine. Do i have to read whole of the 
information in this Recurrence string ? Is there any simpler way of doing that ?

Thanks


       
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for 
today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to