LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-10-2005, 11:28 AM   #1
Jude Lucien
LQ Newbie
 
Registered: Jul 2005
Distribution: Debian Sarge
Posts: 18

Rep: Reputation: 0
Newbie Help With Date & Time


I have read chapter 16 on Time in the Debian sysadmin manual but I am still confused.

When I run the date command I have the correct UTC time returned. However, I am in EST timezone and in my /etc/timezone file it says America/New York which is also correct.

I am running kde for my desktop and the clock shows the UTC time, not EST. When I try and change the timezone through the Control Center to EST it will not change the clock.

Basically, my pc is stuck on UTC time and I can't figure out how to change it. I know I can reset the time using the date command but as soon as I reboot I will lose the setting. What I want to do is have the hardware clock set to UTC (which I think it is) and have the desktop set to localtime (EST). I know this must be a simple solution but I can't figure out what file/s to change.

Can anyone help?

Cheers,
Jude.
 
Old 10-10-2005, 01:13 PM   #2
kundor
Member
 
Registered: Aug 2003
Distribution: GoboLinux
Posts: 167

Rep: Reputation: 30
'date' should return your local time, not UTC, when things are configured correctly.

(To have time changes persist after a reboot, use hwclock --systohc to reset your hardware clock to the system clock.)

Try editing /etc/default/rcS and changing
UTC=no
to
UTC=yes

if it's there.
 
Old 10-11-2005, 10:21 AM   #3
Jude Lucien
LQ Newbie
 
Registered: Jul 2005
Distribution: Debian Sarge
Posts: 18

Original Poster
Rep: Reputation: 0
Hi,

Thanks for your reply but I'm still confused here.

Am I correct in assuming that the hwclock should be set to UTC and the system clock should be set to EST?

If so, my hwclock is correct, I just need to change the system time. I ran hwclock --hctosys but nothing happened, or if it did, I don't know what. If you could let me know how it should be configured that would help a lot. I've read the hwclock man page as well but that also doesn't tell you how things *should* be configured.

Thanks,
Jude
 
  


Reply



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
Help With Date & Time Jude Lucien Linux - General 3 10-11-2005 02:46 PM
Start Date + Time Duration = End Date/Time calculator? ToBe Linux - General 3 09-26-2005 10:17 AM
Problem with date & time kosmonaft Linux - General 3 08-17-2005 11:23 AM
Time & Date setting not sticking nathanv117 Linux - Newbie 3 04-10-2005 09:05 PM
Adjust Date & Time for all users Phaethar Red Hat 3 12-01-2003 01:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:12 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration