The sample server doesn't work for me, and while the example is a fun hint at the alternate universe of "right" and "legal" times, I don't think this is a good place to suggest actually changing the system timezone.
Demonstrate printing a time modified by TZ instead. Index: rdate.8 =================================================================== RCS file: /cvs/src/usr.sbin/rdate/rdate.8,v retrieving revision 1.37 diff -u -p -r1.37 rdate.8 --- rdate.8 10 Feb 2015 13:10:27 -0000 1.37 +++ rdate.8 6 Jan 2019 03:18:48 -0000 @@ -93,18 +93,9 @@ Always show the adjustment. record of date resets and time changes .El .Sh EXAMPLES -To get the legal time in Germany, set the -.Pa /etc/localtime -symlink to -.Pa /usr/share/zoneinfo/right/Europe/Berlin -and issue the following command: +To print the legal time in Germany, issue the following command: .Pp -.D1 Li "# rdate -v ptbtime1.ptb.de" -.Pp -The command of course assumes you have a working internet connection -and DNS set up to connect to the server at -.Sy Physikalisch-Technische Bundesanstalt -in Braunschweig, Germany. +.D1 Li "$ env TZ=right/Europe/Berlin rdate -p pool.ntp.org" .Sh SEE ALSO .Xr date 1 , .Xr adjtime 2 ,
