Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uflorida!mephisto!gatech!kd4nc!trantext!brian From: brian@trantext.UUCP (Brian Bainter) Newsgroups: comp.unix.questions Subject: How is daylight savings time set? Message-ID: <291@trantext.UUCP> Date: 11 Apr 90 13:38:59 GMT Distribution: usa Organization: TranstexT (ICS Atlanta GA.) Lines: 12 I have a routine which gives me the long time number when I send it a struct tm *. Something that I wish UNIX provided. The problem is, when I give it a date that is on the other side of the DST date that I am currently in, it gives me erroneous results. What I need to know is, how does UNIX compute which day in the year that it changes to DST? If I could duplicate this computation, I could fix my problem. Thanks, -- Brian R. Bainter KA7TXA gatech!kd4nc!trantext!brian or gatech!tomcat!brian