How to find out your servers time

ClockWhen examining server logs or application logs you may notice that they are set to your servers time and not yours. Unless you change the timezone settings when you first setup the server then there is a good chance your servers time does not match yours. To figure out what timezone your server is using is pretty straightforward.

You can show your servers time by either looking inside your web hosting control or running a command in the SSH terminal.

If you use a web hosting control panel. You can figure out the time and the timezone being used by your server by looking around inside your control panel’s statistic or info page. With some control panels you will have the option of changing the timezone and time.

To show your servers time and the approximate timezone being used via the command line. You can login via SSH and execute the following command as a regular user:

date