Thread View: comp.os.msdos.misc
11 messages
11 total messages
Started by Jim Backus
Thu, 10 Apr 2003 19:31
time zone in MSDOS 6x
Author: Jim Backus
Date: Thu, 10 Apr 2003 19:31
Date: Thu, 10 Apr 2003 19:31
19 lines
1824 bytes
1824 bytes
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. TIA -- Jim Backus OS/2 user bona fide replies to jimb-thecirclethingy-jita-dp-demon-dp-co-dp-uk remove dashes and make the obvious substitutions for valid email address http://www.jita.demon.co.uk
Re: time zone in MSDOS 6x
Author: E.P. van Westendorp
Date: Thu, 10 Apr 2003 21:55
Date: Thu, 10 Apr 2003 21:55
21 lines
2140 bytes
2140 bytes
Did you receive that info on the first of april? -- Eric P. van Westendorp Tel: +31(0252)210579 Reigerslaan 22 2215NN Voorhout Netherlands Jim Backus wrote: > 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. > > TIA >
Re: time zone in MSDOS 6x
Author: Harry Broomhall
Date: Thu, 10 Apr 2003 23:00
Date: Thu, 10 Apr 2003 23:00
31 lines
2499 bytes
2499 bytes
On Thu, 10 Apr 2003 19:31:37 +0000 (UTC), JHB@jita.nospam.demon.co.uk
(Jim Backus) wrote:
>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.
The answer is "very little". Few progs knew how to check the TZ
variable, and, to make it worse, M$ tended to format this in a
non-standard way.
IMHO, unless you are running an app that *very clearly* states what
it is expecting from TZ (eg Demon's old version of KA9Q) do *NOT*
expect anything to get it right. This includes most M$ apps.
MS-DOS was **** at timezones, chiefly because M$ didn't understand
them. The nasty legacy is still with us now.
Why is this important? There are better/other ways of dealing with
this. The most useful is to set the PC clock to localtime, as this is
what nearly all M$ apps of that era expected.
Regards,
Harry.
Re: time zone in MSDOS 6x
Author: cai
Date: Fri, 11 Apr 2003 09:20
Date: Fri, 11 Apr 2003 09:20
24 lines
1937 bytes
1937 bytes
Well, I have met this problem too, I will post my question below your subject. "Jim Backus" <JHB@jita.nospam.demon.co.uk> wrote in message news:vdCZ2p92dNiH-pn2-2EyklhxUdMUQ@localhost... > 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. > > TIA > > -- > Jim Backus OS/2 user > bona fide replies to jimb-thecirclethingy-jita-dp-demon-dp-co-dp-uk > remove dashes and make the obvious substitutions for valid email > address > http://www.jita.demon.co.uk
Re: time zone in MSDOS 6x
Author: 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)
Re: time zone in MSDOS 6x
Author: Rick
Date: Sat, 12 Apr 2003 03:54
Date: Sat, 12 Apr 2003 03:54
29 lines
2119 bytes
2119 bytes
Jim Backus wrote: > > 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. > > TIA > > -- > Jim Backus OS/2 user > bona fide replies to jimb-thecirclethingy-jita-dp-demon-dp-co-dp-uk > remove dashes and make the obvious substitutions for valid email > address > http://www.jita.demon.co.uk I doubt DOS is actually "aware" of anything - you can set any variable you want to under DOS. The only program I know of that actually uses the TZ variable is Netscape. I presume MSIE does the same on a DOS/Win 3.x machine. Just do a google search using "set TZ=" and you can find all the references you need for the variable settings.
Re: time zone in MSDOS 6x
Author: Artur Yelchishchev
Date: Sat, 12 Apr 2003 10:27
Date: Sat, 12 Apr 2003 10:27
11 lines
1352 bytes
1352 bytes
On Sat, 12 Apr 2003 00:54:31 -0300, Rick <rickajho@rcn.com> wrote: > The only program I know of that actually uses the >TZ variable is Netscape. I can add, at least, two others: Pretty Good Privacy (DOS-based) and NetDate (Win3.1x-based). WBR, Artur
Re: time zone in MSDOS 6x
Author: Charles Dye
Date: Sat, 12 Apr 2003 19:55
Date: Sat, 12 Apr 2003 19:55
15 lines
1498 bytes
1498 bytes
Artur Yelchishchev <risico@hot.ee> wrote in message news:<9bqf9v8jqvvv9jo1vkhvuodav8jgbac7s7@4ax.com>... > On Sat, 12 Apr 2003 00:54:31 -0300, Rick <rickajho@rcn.com> > wrote: > > > The only program I know of that actually uses the > >TZ variable is Netscape. > > I can add, at least, two others: Pretty Good Privacy (DOS-based) > and NetDate (Win3.1x-based). Current versions of Info-Zip's ZIP.EXE and UNZIP.EXE also use it, unfortunately. -- Charles Dye raster@highfiber.com
Re: time zone in MSDOS 6x
Author: Marco van de Voort
Date: Sat, 12 Apr 2003 19:56
Date: Sat, 12 Apr 2003 19:56
23 lines
2114 bytes
2114 bytes
In article <3E978DF7.9BE350A7@rcn.com>, Rick wrote: > Jim Backus wrote: >> >> 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. > > I doubt DOS is actually "aware" of anything - you can set any variable > you want to under DOS. The only program I know of that actually uses the > TZ variable is Netscape. I presume MSIE does the same on a DOS/Win 3.x > machine. > > Just do a google search using "set TZ=" and you can find all the > references you need for the variable settings. Probably all DJGPP based programs do also.
Re: time zone in MSDOS 6x
Author: Artur Yelchishchev
Date: Mon, 14 Apr 2003 08:24
Date: Mon, 14 Apr 2003 08:24
12 lines
1463 bytes
1463 bytes
On 12 Apr 2003 12:55:03 -0700, raster@highfiber.com (Charles Dye) wrote: [ TZ variable ] >Current versions of Info-Zip's ZIP.EXE and UNZIP.EXE also use it, >unfortunately. Why 'unfortunately'? :-) Generally, I have no problems with 'TZ-aware' applications... WBR, Artur
Re: time zone in MSDOS 6x
Author: Charles Dye
Date: Tue, 15 Apr 2003 01:49
Date: Tue, 15 Apr 2003 01:49
33 lines
2133 bytes
2133 bytes
Artur Yelchishchev <risico@hot.ee> wrote in message news:<8krk9voa42l0e2p5c0f7ef6602j0orq0bp@4ax.com>... > On 12 Apr 2003 12:55:03 -0700, raster@highfiber.com (Charles Dye) > wrote: > > [ TZ variable ] > >Current versions of Info-Zip's ZIP.EXE and UNZIP.EXE also use it, > >unfortunately. > > Why 'unfortunately'? :-) Generally, I have no problems with > 'TZ-aware' applications... "Unfortunately" because time stamps in DOS .ZIP archives traditionally refer to _local_ times, not GMT. A quick browse through the MS-DOS 7.1 kernel reveals a few strings which appear to be names of environment variables. TZ doesn't seem to be among them. Other versions of DOS will differ, but MS-DOS 7.1 seems interested in: CONFIG= TMP= and TEMP= TEMPPROMPT= or perhaps \TEMPPROMPT= (?) winbootdir= PATH= COMSPEC= I'm guessing that some of these are simply set at boot time for use by the default command shell, and never referenced by DOS thereafter. -- Charles Dye raster@highfiber.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads