On my linux system, I use ntp to synchronize the system clock. I also installed htpdate to synchronize it when ntp is not available.
To know if ntp has synchronized the clock, I call timedatectl that outputs :
System clock synchronized: yes
But this "variable" is not changed when its htpdate that changes the system clock.
Is there a similar way to know if htpdate has set the system clock ?