delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/01/19:02:35

Date: Wed, 1 May 1996 18:57:10 -0400
From: dj (DJ Delorie)
Message-Id: <199605012257.SAA21555@delorie.com>
To: pkarjala AT paju DOT oulu DOT fi
CC: djgpp AT delorie DOT com
In-reply-to: <4m55ca$skt@ousrvr3.oulu.fi> (pkarjala@paju.oulu.fi)
Subject: Re: Well, I just got DJGPP

> One thing puzzles me though. What is it that the files in 
> timezone-directory are used for? Being something of a newbie I just 
> completely fail to understand what would DJGPP want to do with 
> information about timezones. 

They are used to determine when to switch to daylight savings time,
and how much to adjust the clock by, etc.  The standard USA zone is
compiled in, but if you need a different zone, you can set the TZ
environment variable to refer to those files (documentation needed).

This is required to convert the PC's "local time" to unix's concept of
"seconds since the Epoch".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019