Generally a Linux virtual machine can get the date and time from the hypervisor but the overhead of adding network time is minimal.
sudo apt-get install ntp
by default this will have some default servers already configured so there is no need to add more
linux can automatically calculate the drift from the official time standards so eventually the precision will improve.
sudo nano /etc/ntp.conf
you can add some additional servers in the fallback section