Thread View: news.software.readers
5 messages
5 total messages
Started by Republic Of China
Fri, 23 Aug 1996 00:00
[News Xpress]:How to set Time Zone ?
Author: Republic Of China
Date: Fri, 23 Aug 1996 00:00
Date: Fri, 23 Aug 1996 00:00
5 lines
633 bytes
633 bytes
I think my articles have WRONG TIME,so how to set TIME ZONE?
Should I put "SET time=GMT+8" into AUTOEXEC.BAT?
Re: [News Xpress]:How to set Time Zone ?
Author: Lee Dobbs
Date: Fri, 23 Aug 1996 00:00
Date: Fri, 23 Aug 1996 00:00
23 lines
1560 bytes
1560 bytes
In article <4vjd9v$9s_006@ficnet.net.tw>, SATURN2.bbs@csie.nctu.edu.tw (Republic Of China) wrote: > I think my articles have WRONG TIME,so how to set TIME ZONE? > Should I put "SET time=GMT+8" into AUTOEXEC.BAT? 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 -- ________________________________________________________________________ Lee Dobbs Voice: 408-946-7860 Milpitas, CA Fax: 408-262-9392 ldobbs@best.com ftp://ftp.best.com/pub/ldobbs/ ldobbs@netcom.com ftp://ftp.netcom.com/pub/ld/ldobbs/
Re: [News Xpress]:How to set Time Zone ?
Author: Rick Joseph
Date: Sun, 25 Aug 1996 00:00
Date: Sun, 25 Aug 1996 00:00
41 lines
2235 bytes
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/
Re: [News Xpress]:How to set Time Zone ?
Author: Ralf Meyer
Date: Sun, 25 Aug 1996 00:00
Date: Sun, 25 Aug 1996 00:00
21 lines
1073 bytes
1073 bytes
SATURN2.bbs@csie.nctu.edu.tw (Republic Of China) wrote:
> > 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.
NX always converts the time to GMT. 16:33 + 8 hours is 00:33 the next
day in GMT. (So the calculation is correct)
But I also would like NX to show the correct time zone abbrev (CEST or
+0200 for me).
BTW: your real name doesn't look like a real one.
--
bye
ranf
Re: [News Xpress]:How to set Time Zone ?
Author: Republic Of China
Date: Mon, 26 Aug 1996 00:00
Date: Mon, 26 Aug 1996 00:00
15 lines
1202 bytes
1202 bytes
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.
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