LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-13-2004, 05:46 PM   #1
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
Question Erm, how do I set my system date/time?


How embarassing to have to ask a question like this. I have a Slackware 10 installation, and I'm using Gnome as per the default installation. Nothing is changed except the wallpaper. I have a clock in the top right corner which consistently shows the wrong time. The help for the clock application says that to set the system date/time, I should right-click on the clock and choose "Adjust Date & Time". But no such option is in the menu!

Am I losing my marbles? Please someone put me out of my misery!


On edit: P.S. The system shows the correct date/time when I boot into Mandrake on the same PC. What gives? I thought it would be the same clock....

Last edited by vasudevadas; 09-13-2004 at 05:48 PM.
 
Old 09-13-2004, 05:57 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Run as root: pkgtool
Select Setup, then select timeconfig (almost the last choice) and run it.

You may also want to see: man hwclock

Last edited by gbonvehi; 09-13-2004 at 05:58 PM.
 
Old 09-13-2004, 09:57 PM   #3
kmoffat
Member
 
Registered: Jul 2003
Location: near Seattle
Distribution: Debian/Ubuntu/Suse
Posts: 240
Blog Entries: 2

Rep: Reputation: 30
for server sync you could try
ntpdate -v time.nist.gov
 
Old 09-13-2004, 10:05 PM   #4
dvm
Member
 
Registered: Sep 2004
Posts: 62

Rep: Reputation: 15
I don't know if there's a difference for Gnome, but I guess you could try a man date, to see how to set the system time from the console. Guaranteed to work on every Linux anyway!
 
Old 09-14-2004, 04:40 PM   #5
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by dvm
I don't know if there's a difference for Gnome, but I guess you could try a man date, to see how to set the system time from the console. Guaranteed to work on every Linux anyway!
Thanks. In the end:

date -u MMDDhhmmCCYY.ss

did it for me.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set date and time thick_guy_9 Slackware 8 07-07-2005 09:46 AM
date command do not keep time set shanenin Linux - Software 1 09-04-2004 09:16 PM
Set Date/Time Under AIX dvong3 AIX 2 04-10-2004 12:54 PM
How to correctly set date/time? Jakerohs Linux - General 5 01-08-2004 04:48 AM
set date and time maggielmk Programming 3 10-24-2001 02:21 AM


All times are GMT -5. The time now is 07:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration