In my iOS application, I'm showing date picker through which user can select at what time they want to select to store the event in calendar. i am using event kit for this.
This is working fine. But the problem is that its creating the even in GMT time zone. How can I create an event in calendar according to local time.
Asked
Active
Viewed 2,645 times
0

Satyam
- 15,493
- 31
- 131
- 244
-
1I found the solution from the URL: http://stackoverflow.com/questions/1268509/convert-utc-nsdate-to-local-timezone-objective-c – Satyam Jun 09 '12 at 16:21
1 Answers
4
I found the solution: We don't have to convert data to local time zone. We've to set the start date in GMT time zone and event kit will handle the conversion to local time zone and show it.

Satyam
- 15,493
- 31
- 131
- 244
-
hi, i am facing the same issue, i am adding the time in GMT but in iCal its showing in PDT time..can u please help me fix this? – Rijo Joseph Apr 11 '14 at 09:43