LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-19-2004, 01:08 AM   #1
triley
Member
 
Registered: Oct 2003
Posts: 74

Rep: Reputation: 15
Setting system time to UTC


I'm trying to set my system time on a redhat 9 box to UTC. I can use the redhat-config-time utility to set the time and check the UTC box. After setting the time, I run "date" in a terminal and I show EDT time, not UTC. How do you set the system time to UTC? Thanks.
 
Old 04-19-2004, 12:39 PM   #2
ekman
Member
 
Registered: Apr 2004
Location: Sweden
Posts: 41

Rep: Reputation: 15
# date
Mon Apr 19 19:39:04 CEST 2004
# mv /etc/localtime /etc/localtime.save
# date
Mon Apr 19 17:39:11 UTC 2004

Regards,
L Ekman
 
Old 08-25-2009, 07:56 PM   #3
lemon09
Member
 
Registered: Jun 2009
Location: kolkata,India
Distribution: Mandriva,openSuse,Mint,Debian
Posts: 259
Blog Entries: 1

Rep: Reputation: 35
Quote:
Originally Posted by ekman View Post
# date
Mon Apr 19 19:39:04 CEST 2004
# mv /etc/localtime /etc/localtime.save
# date
Mon Apr 19 17:39:11 UTC 2004
just as a matter of fact can you please say how it works.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wrong UTC time sundaraz Linux - Newbie 4 10-21-2005 10:45 PM
Time zone stuck in UTC - how to change? Ook Slackware 2 04-24-2005 10:55 PM
Re: UTC Time unixfreak Linux - Newbie 2 08-30-2004 02:09 PM
Setting System Time: kernel in wrong time zone warrenweiss Linux - General 7 05-15-2004 03:25 PM
change UTC to EST time zone. brian_eye Linux - Newbie 1 10-27-2003 05:08 PM


All times are GMT -5. The time now is 08:59 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