problem with DST TIMEZONES, NE HELP???????
i am using fc3 OS
i am writing a C application to first change timezone by creating link to respective timzone zonefile, then set time(time is input by user ) by first converting it to time since epoch by mktime() API then set time by settimeofday(). i am facing issues with timezones which have DST on like America/New_York. if i set time 5:00 with any America/New_York timezone then actual fetched on gettimeofday() and then converting using localtime_r() gives me 6:00. i suspect some DST correction is getting applied ? any clue how to avoid this?