Forum Discussion

Don's avatar
Icon for Nimbostratus rankNimbostratus
Oct 19, 2021

What is the Difference between Date and Clock?

What is the difference between date and clock command. What would cause the two to me different and how do I sync them up?



ltmA# clock

Tue 19 Oct 2021 12:13:53 AM UTC -0.001128 seconds

ltmA# date

Tue Oct 19 13:04:43 UTC 2021


 # tmsh list /sys ntp servers

sys ntp {

  servers { ntp.local.domain }

   remote      refid   st t when poll reach  delay  offset jitter


*  3 u 774 1024  1  2.682  -0.565  0.530

1 Reply



    clock:- which is a software clock used when the system is running that stores time according to the local time zone that you configure when you initially set up the system. clock capture the time from network time protocol (NTP) server.


    date:- it is used to display the system date and time. It doens't show all details.