Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Time/Date configuration - n00b here :)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Rain Designs
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 130
Location: Los Angeles, CA

PostPosted: Wed Jul 03, 2002 6:02 pm    Post subject: Time/Date configuration - n00b here :) Reply with quote

Well I have crontab set up and running, but the time and date of my server are WAY off. I know how to change the time and date in KDE or GNOME, but I'm not sure how to do it in CLI through SSH. Does anyone know the command to edit time/date?

Thanks

-Rain

I don't really need the time and date to be changed, but it would save me some time. :D
_________________
^M = Death by notepad

http://www.raindesigns.com


Last edited by Rain Designs on Thu Jul 04, 2002 3:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
ZagiFlyer
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2002
Posts: 93
Location: San Jose, CA

PostPosted: Wed Jul 03, 2002 6:02 pm    Post subject: Reply with quote

First make sure you are using your local time and not GMT (unless you are using GMT on purpose):
(from the installation HOW-TO http://www.gentoo.org/doc/en/build.xml#doc_chap13:
ln -sf /usr/share/zoneinfo/path/to/timezonefile /etc/localtime

If the link is correct, double-check the time in your BIOS.
_________________
"Beer is proof that God loves us and wants us to be happy"

--Ben Franklin


Last edited by ZagiFlyer on Thu Jul 04, 2002 3:47 pm; edited 3 times in total
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 17768

PostPosted: Wed Jul 03, 2002 6:02 pm    Post subject: Reply with quote

'man date' should tell you what you need.
_________________
I honestly think you ought to sit down calmly, take a stress pill, and think things over.
Back to top
View user's profile Send private message
Sesquipedalian
n00b
n00b


Joined: 22 May 2002
Posts: 62
Location: Loveland, CO

PostPosted: Wed Jul 03, 2002 6:02 pm    Post subject: Reply with quote

the 'date' command should do it:

date MMDDHHMM
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Wed Jul 03, 2002 6:02 pm    Post subject: Reply with quote

Also, look into the ntp package. It will keep you nicely synchronized with a time server.

kanuslupus wrote:
'man date' should tell you what you need.
Back to top
View user's profile Send private message
Rain Designs
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 130
Location: Los Angeles, CA

PostPosted: Wed Jul 03, 2002 6:02 pm    Post subject: Reply with quote

awesome! I love this forum! You guys respond so fast!

Thanks a lot!

-Rain
_________________
^M = Death by notepad

http://www.raindesigns.com
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum