Hello there,
i am trying to check, with plain c, whether the DST is set on a specific date and time. i have tested gmtime and localtime, but these functions only take care of the current system DST.
Thanks for your advice. thomas
Hello there,
i am trying to check, with plain c, whether the DST is set on a specific date and time. i have tested gmtime and localtime, but these functions only take care of the current system DST.
Thanks for your advice. thomas
Try to use zic
and zdump
. Use man for more information.
When I needed to know DST without holding the 6MB of compiled data I modified zic's code to create a samller table with the required data.