Name

clockview — view an adjustment to the local clock

Synopsis

clockview

Description

clockview reads a TAI64NA time adjustment. It then prints the local UNIX clock and the local UNIX clock plus that adjustment.

The adjustment must be a single 16-byte packet.

Both clocks are printed in ISO style (with nanoseconds and attoseconds), in the local time zone, using localtime(3). Beware that many systems do not handle leap seconds correctly in localtime(3).

History

clockview was originally part of Daniel J. Bernstein's clockspeed toolset in 1998.

Author

Original code and documentation by Daniel J. Bernstein. Documentation modernizations by Jonathan de Boyne Pollard.