I have noticed recently that most of our VMWare instances (and we are running decent fleet of them for the ATG Lab as well as internal system) if left without time synchronization, will loose get late quite a bit: some of them as much as hour or more a week.
Unix date command unfortunately belongs to those commands that I am having troubles to remember and everytime I have to use it with parameters, I end up googling for examples ...
The following snippet is useful when correcting only time portion:
1 2 3 4 5 6 7 8 9
[tkuser@jci-app ~]$ date Sat Jan 3 11:28:12 EST 2009 [tkuser@jci-app ~]$ sudo date -s "13:45" Password: Sat Jan 3 13:45:00 EST 2009 [tkuser@jci-app ~]$ date Sat Jan 3 13:45:04 EST 2009
Author Miro Adamy
License (c) 2006-2019 Miro Adamy