How does Linux handle DST/ST? It's all about time...

Jerry Feldman gaf.linux at gmail.com
Tue Nov 10 13:52:26 EST 2020


The basic Unix time was to set up an epoch based on UTC time. This way when
systems talk to each other they are on the same time basis. So, each
machine needs to know what offset from utc, and whether or not it is on std
or daylight time.

--
Jerry Feldman <gaf.linux at gmail.com>
Boston Linux and Unix http://www.blu.org
PGP key id: 6F6BB6E7
PGP Key fingerprint: 0EDC 2FF5 53A6 8EED 84D1  3050 5715 B88D 6F6
B B6E7

On Tue, Nov 10, 2020, 1:24 PM Michael ODonnell <mod.gnhlug at b0rken.com>
wrote:

>
>
> You can mess around with DST and such but this slightly sleazy hack
> might serve an alternative: find some way to get your "dumb" machine to
> tell your "smart" machine what time it thinks it is currently, and then
> force the smart machine to that time.  For example, if SSH works from
> the smart machine to the dumb one then from the smart one you might say:
>
>  % x="$(ssh dumb date)"
>  % sudo date --set="$x"
>
> ...or some variation on that theme.
>
>   --M
>
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.gnhlug.org/pipermail/gnhlug-discuss/attachments/20201110/4298a169/attachment.html 


More information about the gnhlug-discuss mailing list