For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > May 2006 > How to tell when the DST will start or end









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to tell when the DST will start or end
stoner

2006-05-23, 5:52 am

I want to develop a tool to report the unix system time information, including when the DST will start and end.
I remembered some time zone informations as follows:

extern time_t timezone, altzone;
extern int daylight;
extern char *tzname[2];

But I cannot find out any unix APIs to report when the DST will start or end.
Can you tell me that? Thanks.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com