I want to get current time living in Turkey, but when I used following function getting time 3 hour less than our time because of that reason adding 3 to currentTime->tm_hour is there anything else I can do? Can I say compiler I am living turkey or some where else, is there any reference for that reason
Thanx u in advance.
time(&t);
currentTime = gmtime( &t);
currentTime->tm_hour = (currentTime->tm_hour +3 ) %24;