Change system time or date or both
Hello,
How can I change the time and date on Linux? Thank you in advance. |
look at the "date" command:
man date or sync with an ntp server using: ntpdate time.nist.gov rdate -s time.nist.gov |
man date
man time man hwclock Here's and example: date --set="Tue Jun 10 17:50:05" |
Thank you both for your posts...
I did as david_ross suggested and checked the man pages. And there I found that I could use "--set" to set the date, passing in some string. I was confused about what sort of string to use. Then I noticed the post by druuna and I used date --set="Wed Oct 28 13:53:00" I logged out and back in again and I noticed that it worked. Thanks again to you. |
Quote:
and I'm TOO curious .... your nick is from Serpieri's comics? :) Your footer looks familiar :} Cheers, Tink |
Yep. Guilty, I'm a big Druuna fan :)
I don't even remember where I got the sig. It's been so for the last 15 years or so. I know it's not mine, but cannot remember where I read it (anyone??). |
Quote:
exquisit drawing skills ... Paolo teaches art somewhere in Italy, right? As for the footer, I can't recall, either :} /me is old ;) Cheers, Tink P.S.: I apologise for the OT! |
All times are GMT -5. The time now is 02:54 AM. |