🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #25230

Re: [News Xpress]:How to set Time Zone ?

#25230
From: Rick Joseph
Date: Sun, 25 Aug 1996 00:00
41 lines
2235 bytes
SATURN2.bbs@csie.nctu.edu.tw (Republic Of China) wrote,
in article <4vqrdu$fs_004@ficnet.net.tw>:
>In article <4vl2r3$ihl@nntp1.best.com>, ldobbs@best.com (Lee Dobbs) wrote:
>>Since you're using NX 2.0, you must be using Win95: so, go to the Control 
>>Panel, open Date/Time, click the Time Zone tab, and then use the map and 
>>drop-down menu box to select the setting for your location.
>>You may find a few apps that also look for an environment variable. This 
>>variable is usually named "TZ" to follow the Unix convention, so the 
>>AUTOEXEC.BAT line for ROC would be
>>  set TZ=GMT+8
>
>  Both of the ways don't work!Now , it's on 16:33:50 8/25 in Taiwan.
>  You can see DATE in my post,and it's wrong.  

No, Lee is incorrect.

The TZ variable should be set  with the three-character local time zone 
code, followed by the numeric difference from GMT (negative if earlier, 
positive if later), followed by the optional three-character local 
daylight saving time zone code (if your location observes DST).  In 
California, it's set like this:

SET TZ=PST8PDT

I don't know what the thee-character timezone code is for you in Taiwan, 
but I assume you follow China's GMT plus 8, with daylight savings from 
April 12 to September 12.  Yours will probably look something like this:

SET TZ=ROC-8DST

(Note the minus sign before the 8.  Substitute whatever the 
three-character codes are for standard time and DST for Taiwan.)

Hope that helps.

---
r_joseph@ix.netcom.com
http://www.netcom.com/~r_joseph/

Technical Details
Message-ID: <4vq6bj$bih@sjx-ixn2.ix.netcom.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <4vjd9v$9s_006@ficnet.net.tw> <4vl2r3$ihl@nntp1.best.com> <4vqrdu$fs_004@ficnet.net.tw>

Show Full Headers
Complete Article Headers
Message-ID: <4vq6bj$bih@sjx-ixn2.ix.netcom.com>
Subject: Re: [News Xpress]:How to set Time Zone ?
Date: Sun, 25 Aug 1996 00:00:00 +0000
From: r_joseph@POPD.ix.netcom.com (Rick Joseph)
References: <4vjd9v$9s_006@ficnet.net.tw> <4vl2r3$ihl@nntp1.best.com> <4vqrdu$fs_004@ficnet.net.tw>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 176405560
Organization: http://www.netcom.com/~r_joseph/
X-netcom-date: Sun Aug 25 11:34:27 AM PDT 1996
Newsgroups: news.software.readers