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 f开发者_JAVA技巧or 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.
精彩评论