Note that the kenrel doesn't keep track daylight savings time, nor
timezone offset. These values are generally zero. While one still theoreticall could set these values, that's almost never done. Users wishing to have an offset between the time of day clock hardware and UTC use adjkerntz(8) instead. localtime(3) should be used to find these values for the current timezone.
This commit is contained in:
parent
33b5b3ef75
commit
5669c6748d
@ -89,6 +89,11 @@ structure indicates the local time zone
|
|||||||
and a flag that, if nonzero, indicates that
|
and a flag that, if nonzero, indicates that
|
||||||
Daylight Saving time applies locally during
|
Daylight Saving time applies locally during
|
||||||
the appropriate part of the year.
|
the appropriate part of the year.
|
||||||
|
The kernel generally does not track these values and they
|
||||||
|
are usually returned as zero.
|
||||||
|
Use
|
||||||
|
.Xr localtime 3
|
||||||
|
to find the offset for the currently active timezone.
|
||||||
.Pp
|
.Pp
|
||||||
Only the super-user may set the time of day or time zone.
|
Only the super-user may set the time of day or time zone.
|
||||||
If the system is running at securelevel >= 2 (see
|
If the system is running at securelevel >= 2 (see
|
||||||
|
Loading…
Reference in New Issue
Block a user