views:

301

answers:

1

I want to convert GMT +530 to CET (Central European Time) in iPhone sdk? does anybody have idea about this? also tell me what is the time difference between these two? Means if time is 10 am in gmt +530 then what it will be in CET?

+1  A: 

CET is GMT + 1 hour. See timeanddate.com.

For working with time (and dates) on the iPhone, you should start by reading Apple's Introduction to Date and Time Programming for Cocoa, which is part of the iPhone Developer Library. There is a section of that document specifically on Using Time Zones.

There's a code example in the answer to a similar question here on StackOverflow: http://stackoverflow.com/questions/1862905/nsdate-convert-date-to-gmt/1863042#1863042

Jay O'Conor