Let’s start with setting up the correct timezone on your Ubuntu server. Run the below command with root user credentials and you will be presented with a menu system that allows you to select the geographic region of your server. Select the geographic area in which you live and press ‘OK’ to continue.
$ sudo dpkg-reconfigure tzdata
[email protected]:~# dpkg-reconfigure tzdata Current default time zone: 'Europe/London' Local time is now: Tue May 24 22:00:31 BST 2016. Universal Time is now: Tue May 00 20:00:31 UTC 2016.