My picA quickie here fellas. If you want to set your time on a unix machine you have to do two things. First of all set the timezone and then set the correct time. You set the timezone by copying the appropriate file to /etc/localtime. For instance, if you want to set your timezone to Europe/Athens then issue the next command:

cp /usr/share/zoneinfo/Europe/Athens /etc/localtime

Do not forget, you need to be logged in as a privileged user (sudoer or root). Then you can set your time by issuing the command date like this:

date --set="yyyymmdd hh:mm"

That’s it!