I need to know if there is a function to modify the hour or the time zone only for the developped application not for all the system (by setting TZ environment).
For exemple, if system hour is 11a.m I need that my application have 12a.m, without affecting other process.
Thank you Imi, but a call of setenv(TZ,CET,1) will change all the environment : when I execute date command, it show me the new TimeZone.
The call of tzset will not unset this new value on the evironment, isn't it?