Daylight Savings Time..

Kevin W. Reed kreed at telesys.cts.com
Sun Apr 7 02:54:11 AEST 1991


[Followup to comp.unix.xenix.sco]

tts at ttank.ttank.com (Karl Bunch) writes:
>I've heard rumors that Congress is goign to push the daylight savings
>time ending back to the end of April.  Anyone have good ideas on how
>to tell SCO Xenix 2.3.3 this?  If all else fails I guess I'll reset TZ
>with a lie for a few weeks.

The controlling factor for when DST goes into and out of effect is located
in the file /etc/tz (SCO Xenix), Unix and others might be different??.

Mine is set up as:

	TZ=PST08:00:00PDT07:00:00;M4.1.0/02:00:00,M10.5.0/02:00:00

Which breaks down to:

	Difference in time from GMT when PST	PST08:00:00
	Difference in time from GMT when PDT	PDT07:00:00
	Month the change to PDT and when	M4.1.0/02:00:00
		(April First Week Sunday)
	Month the change to PST and when	M10.5.0/02:00:00
		(Oct Fifth Week Sunday)

I found this information in the man pages tz(M).

If congress changes the start and or end, all you need to do is change
this string to match what the change is.  If it is moving to end of
April then:

	TZ=PST08:00:00PDT07:00:00;M4.5.0/02:00:00,M10.5.0/02:00:00

>Karl
>-- 
>% ----------------------------------------------------------------------------
>% Karl Bunch                            ||| UUCP: ..!uunet!zardoz!ttank!karl
>% Think Tank Software                   ||| INTERNET: karl at ttank.com
>% ".you'd be suprised how far a hug will go with Geordi, even Worf!" -- Riker

-- 
Kevin W. Reed      TeleSys Development Systems   San Diego, CA USA
{nosc,ucsd}!crash!telesys!kreed              kreed at telesys.cts.com
TeleSys-II BBS & Development System Primary Number +1 619 483 3890



More information about the Comp.unix.sysv386 mailing list