How to set the date in LinuxFollow @ggarron
Time and date are important parameters in computer's world, if they are not accurately set, you will have problems. Some of problems are not too much importnnt, like the time on your emails, but others.... If time and date are not properly set in Linux, can lead you to a mess, like:
- Your cron jobs, will not run when they are suppose to run
- You may loose your appointments if you are using your computer calendar
We need to accurately set time and date in our Linux, here is how to do it, from the command line.
date +%Y%m%d -s "20090502"
To set the time in Linux, enter
date +%T -s "11:14:00"
There are simple ways to set the date and time, here is one.
date -s "2 MAY 2009 11:14:00"
The format is
As you see, there are lots of options to set the date on Linux, keep your linux on time.