Server for Information Technologies

(095) 932-9212, 932-9213, 939-0783
E-mail: info@citforum.ru
(!) CIT Forum CD-ROM

TZ(5)
XENIX System V (1 ap 1989)


TZ - acoo oc (epeea oao cpe)

TZ=sssn[ddd[m][;start[/time],end[/time]]]; export TZ
setenv TZ sssn[ddd[m][;start[/time],end[/time]]]
/etc/tz


epeea oao cpe TZ peaaea aa acooo oca, ee aee oe ycaoeo aax /etc/rc, /.profile, /etc/default/login.

a /etc/tz, oe, a opao, o pe acpo, apaae acoo oc oe eoxoe ee cooecyx aax.

apaac ae a epexoa a eee pe opao, acoa paa ey e caap peee.

ooae, axoec o aco oce, e ooa aa, oy e TZ co a $HOME/.profile $HOME/.login. TZ coep ceyy opa:
(sss)O oo o e y, opeex caap acoo oc.
(n)acoa paa co peee o py. (ooeoe co - oco, aaee pa, opaeo - oco, ocoee).
(ddd)O oo o e y, opeex ecoe eee pe. Ec e yaao, eeo pee e cyecye.
(m)acoa paa c e peee o py. Ec oyeo, opayeaec ooacoa paa c ec peee.
(start)pao, opeeee e aaa eeo pee. B o oyap e ooa eeo pee oe pae, e e aaa.
(end)pao, opeeee e ooa eeo pee.
(time)Bpe , oopoe ocyecec epexo a eee pe. o yoa, 02:00:00 ecoo pee.
paa, opeee start end eeo pee ceye:
Jn1 ao c e n(1<=n<=365)
n0 ao c e n(1<=n<=364)
Wn.dn-(1<=n<=53) e ee d(0<=d<=6)
Mm.n.dn-(1<=n<=5) e ee d ece m(1<=m<=12)

e cooco oy e yaec ( epx yx paax), a 28- epa(J59) ceye 1 apa(J60).

Bocpecee ec ep e ee (0). Ec d oyeo, opayeaec ocpecee.

oo, o e acoo oc, peyec ayc etc/tz opeapoa a /etc/rc, /.profile,

/etc/rc
/etc/default/login
$HOME/.profile
$HOME/.login

.
environ(5), date(1), ctime(1)


Date(1) aoaec ocpae epexo a eee pe.

eee TZ eeeo caaec a paoe cce, cey o poeyp ctime(2) opaae aee, apyeec a oo ae
Comments: info@citmgu.ru
Designed by Andrey Novikov
Copyright © CIT