![](https://seccdn.libravatar.org/avatar/5a213d0eb62c5f1f45eee632bdd5dbdb.jpg?s=120&d=mm&r=g)
Hi, We have an application which determines the timezone and if the daylight saving is active. To do this, the struct tm is used, and the functions localtime() and gmtime(). The problem is the application correctly says it is 'daylight saving active' for Solaris/Unix/WinNT, but for Linux not. The system settings are: GMT="--localtime" TIMEZONE="Europe/Amsterdam" Has anyone an idea what whe are doing wrong? Met vriendelijke groet, Harry ten Berge Test Engineer Holland Institute of Traffic Technology HITT B.V. P.O. box 717 Apeldoorn email :berge@hitt.nl http://www.hitt.nl tel : +31 555432537 fax : +31 555432554
![](https://seccdn.libravatar.org/avatar/e2e886925c5420ff8c2352fd293dd71d.jpg?s=120&d=mm&r=g)
* Berge, Harry ten
Hi,
We have an application which determines the timezone and if the daylight saving is active. To do this, the struct tm is used, and the functions localtime() and gmtime(). The problem is the application correctly says it is 'daylight saving active' for Solaris/Unix/WinNT, but for Linux not.
The system settings are:
GMT="--localtime" TIMEZONE="Europe/Amsterdam"
Has anyone an idea what whe are doing wrong?
#include
participants (2)
-
Berge, Harry ten
-
Gerhard den Hollander