ntpd to update date/time after boot
The Raspberry Pi lacks a hardware clock. How-to force NTPd to update date and time immediately after every boot ?
NTP demon is required, if you have many raspberry PI you don't need to implement this on each machines. Probably the best place is on your DHCP server.
sudo apt update && sudo apt upgrade -y && sudo apt install -y ntpd
Basically you need to run:
date sudo systemctl stop ntp.service sudo ntpd -q -g sudo systemctl start ntp.service date
You must also ensure you use a relevant timezone