Article View: comp.os.msdos.misc
Article #4031Re: time zone in MSDOS 6x
From: Dr John Stockton
Date: Fri, 11 Apr 2003 12:23
Date: Fri, 11 Apr 2003 12:23
37 lines
3009 bytes
3009 bytes
JRS: In article <vdCZ2p92dNiH-pn2-2EyklhxUdMUQ@localhost>, seen in news:demon.tech.pc, Jim Backus <JHB@jita.nospam.demon.co.uk> posted at Thu, 10 Apr 2003 19:31:37 :- >It seems that MSDOS 6.x is aware of time zones. If the environment >variable TZ is not set, it apparently assumes that it is operating >under Pacific time zone. I haven't fully explored how this version of >MSDOS uses the time zone information - it doesn't change the date and >time, but it does have an effect on programmes that are time >sensitive. > >If anyone here has any detailed knowledge on what this version of DOS >does with the TZ variable, could you post it? All I could find on the >web related to operation of PGP and time stamping of usenet messages. DOS knows nothing of TZ. UNIX & C libraries and utilities, because of their origin, may well default to California time; and may even be settable for other US time zones - after all, nowhere else matters. DOS translations of UNIX & C code are likely to inherit existing defects; and may only have those parts needed for the place of translation translated. The GAWK that I was interested in, for example, would accept a TZ string; but it ignored the change-date rules provided, using only the Merkin ones. Some programs written for DOS use these libraries - a program which goes silly from 2038-01-19 can be assumed to do so. <URL:http://www.merlyn.demon.co.uk/misctime.htm#TZ> <URL:http://www.merlyn.demon.co.uk/js-date5.htm#DDTA> -- � John Stockton, Surrey, UK. jrs@merlyn.demon.co.uk Turnpike v4.00 MIME. � Web <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links. Proper <= 4-line sig. separator as above, a line exactly "-- " (SonOfRFC1036) Do not Mail News to me. Before a reply, quote with ">" or "> " (SonOfRFC1036)
Technical Details
Message-ID:
<uRmn4DNkOrl+EwdI@merlyn.demon.co.uk>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!kibo.news.demon.net!news.demon.co.uk!demon!merlyn.demon.co.uk!spamReferences:
<vdCZ2p92dNiH-pn2-2EyklhxUdMUQ@localhost>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 1036bc,a725d05cd14e22da X-Google-Attributes: gid1036bc,public X-Google-Thread: f71eb,a725d05cd14e22da X-Google-Attributes: gidf71eb,public X-Google-ArrivalTime: 2003-04-11 10:55:01 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!kibo.news.demon.net!news.demon.co.uk!demon!merlyn.demon.co.uk!spam From: Dr John Stockton <spam@merlyn.demon.co.uk> Newsgroups: comp.os.msdos.misc,demon.tech.pc Subject: Re: time zone in MSDOS 6x Date: Fri, 11 Apr 2003 13:23:00 +0100 Organization: Home, 'Surrey', UK Lines: 37 Message-ID: <uRmn4DNkOrl+EwdI@merlyn.demon.co.uk> References: <vdCZ2p92dNiH-pn2-2EyklhxUdMUQ@localhost> Reply-To: Dr John Stockton <reply@merlyn.demon.co.uk> NNTP-Posting-Host: merlyn.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.demon.co.uk 1050083700 15576 158.152.233.145 (11 Apr 2003 17:55:00 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Fri, 11 Apr 2003 17:55:00 +0000 (UTC) X-Newsreader: Turnpike (32) Version 4.00 <FaPHOaas0ellLCXbR0oIxSiVaE>