In a FreeBSD system one may need to adjust date and time, specially if one has opened a VPS instance in some hosting provider. The system already provides a list of time zones. Just look around in the /usr/share/zoneinfo folder and subfolders to find the one that fits your needs. Just remember this will have complete effect on the overall behaviour on the server or desktop. Any cronjob set at an specific time will be triggered at the system time not at your local machine time. Mind this anytime you are dealing with servers out of your localtime zone. Once you’ve found your localtime just copy it into the /etc/localtime file.
sudo cp /usr/share/zoneinfo/chosenlocaltime /etc/localtime
sudo cp /usr/share/zoneinfo/Europe/Berlin /etc/localtime
This is all you have to do to set the time and date in your FreeBSD system.
If you find the articles in Adminbyaccident.com useful to you, please consider making a donation.