|
Back
Midas
Rome
Roody
Rootana
|
Midas DAQ System |
Not logged in |
|
|
14 Sep 2013, Konstantin Olchanski, Info, mktime() and daylight savings time
|
24 Sep 2013, Stefan Ritt, Info, mktime() and daylight savings time
|
24 Sep 2013, Konstantin Olchanski, Info, mktime() and daylight savings time
|
24 Sep 2013, Stefan Ritt, Info, mktime() and daylight savings time
|
24 Sep 2013, Stefan Ritt, Info, mktime() and daylight savings time
|
|
Message ID: 909
Entry time: 24 Sep 2013
In reply to: 906
Reply to this: 911
|
Author: |
Stefan Ritt |
Topic: |
Info |
Subject: |
mktime() and daylight savings time |
|
|
I vaguely remember that I had a similar problem with ELOG. The solution was to call tzset() at the beginning of the program. The man page says that
this function is called automatically by programs using time zones, but apparently it is not. Can you try that? There is also the TZ environment
variable and /etc/localtime. I never understood the details, but playing with these things can influence mktime() and localtime().
/Stefan |