PDA

View Full Version : UTC and localtime



murphy19804
30-May-2012, 21:26
I'm new here, so I don't quite know where I should post this. If this is
not the proper forum, please excuse my ignorance.
I'm running openSuSE 11.1, and, no matter what I try, the times my
system shows me for UTC and localtime are reversed. My TZ is
America/New_York, but when I enter hwclock --utc, I get a time four
hours before my local time, instead of four hours ahead. I can set UTC
or set local time and the result is the same. I tried editing
/etc/sysconfig/clock so that HWCLOCK is -u. Makes no difference. I
tried HWCLOCK ="--localtime", same thing. If there is anyone out there
who can tell me how to correct this, I'd appreciate it. I'm studying for
my CompTIA Linux+ cert and don't want to skip section of my textbook
without being able to correct the problem.
Thanks, Mike


--
murphy19804
------------------------------------------------------------------------
murphy19804's Profile: http://forums.novell.com/member.php?userid=127784
View this thread: http://forums.novell.com/showthread.php?t=456390

malcolmlewis
30-May-2012, 21:33
On Wed, 30 May 2012 20:26:01 GMT
murphy19804 <murphy19804@no-mx.forums.novell.com> wrote:

>
> I'm new here, so I don't quite know where I should post this. If this
> is not the proper forum, please excuse my ignorance.
> I'm running openSuSE 11.1, and, no matter what I try, the times my
> system shows me for UTC and localtime are reversed. My TZ is
> America/New_York, but when I enter hwclock --utc, I get a time four
> hours before my local time, instead of four hours ahead. I can set UTC
> or set local time and the result is the same. I tried editing
> /etc/sysconfig/clock so that HWCLOCK is -u. Makes no difference. I
> tried HWCLOCK ="--localtime", same thing. If there is anyone out there
> who can tell me how to correct this, I'd appreciate it. I'm studying
> for my CompTIA Linux+ cert and don't want to skip section of my
> textbook without being able to correct the problem.
> Thanks, Mike
>
>
Hi
http://forums.opensuse.org is the place to be ;) However 11.1 is way
out of support so answers maybe lacking....

--
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.1 (x86_64) Kernel 3.1.10-1.9-desktop
up 2 days 21:16, 3 users, load average: 0.04, 0.03, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

elagrew
31-May-2012, 12:56
How you explained it makes no sense to me? "I get a time four hours
before my local time, instead of four hours ahead" <===I think this says
the same thing...am I mistaken?

--El

murphy19804;2198820 Wrote:
> I'm new here, so I don't quite know where I should post this. If this is
> not the proper forum, please excuse my ignorance.
> I'm running openSuSE 11.1, and, no matter what I try, the times my
> system shows me for UTC and localtime are reversed. My TZ is
> America/New_York, but when I enter hwclock --utc, I get a time four
> hours before my local time, instead of four hours ahead. I can set UTC
> or set local time and the result is the same. I tried editing
> /etc/sysconfig/clock so that HWCLOCK is -u. Makes no difference. I
> tried HWCLOCK ="--localtime", same thing. If there is anyone out there
> who can tell me how to correct this, I'd appreciate it. I'm studying for
> my CompTIA Linux+ cert and don't want to skip section of my textbook
> without being able to correct the problem.
> Thanks, Mike


--
El LaGrew
elbert.lagrew#katun.com
elagrew on twitter
------------------------------------------------------------------------
elagrew's Profile: http://forums.novell.com/member.php?userid=10240
View this thread: http://forums.novell.com/showthread.php?t=456390

elagrew
31-May-2012, 12:56
SuSE 11.1 is out of support? You're joking right?

--El

[snip]
>[/color]
Hi
'openSUSE Forums' (http://forums.opensuse.org) is the place to be ;)
However 11.1 is way
out of support so answers maybe lacking....

--
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.1 (x86_64) Kernel 3.1.10-1.9-desktop
up 2 days 21:16, 3 users, load average: 0.04, 0.03, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU


--
El LaGrew
elbert.lagrew#katun.com
elagrew on twitter
------------------------------------------------------------------------
elagrew's Profile: http://forums.novell.com/member.php?userid=10240
View this thread: http://forums.novell.com/showthread.php?t=456390

malcolmlewis
31-May-2012, 14:09
On Thu, 31 May 2012 11:56:02 GMT
elagrew <elagrew@no-mx.forums.novell.com> wrote:

>
> SuSE 11.1 is out of support? You're joking right?
>
> --El
>
> [snip]
> >
> Hi
> 'openSUSE Forums' (http://forums.opensuse.org) is the place to be ;)
> However 11.1 is way
> out of support so answers maybe lacking....
>[/color]

Hi
In you first post... openSUSE 11.1 and it sure is....

SUSE Linux Enterprise 11 SP1 isn't, if this is what you have then you
need to post in the appropriate SLE(S/D) forum.

cat /etc/SuSE-release will show what you have.

This forum isn't for support.....

--
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.1 (x86_64) Kernel 3.1.10-1.9-desktop
up 9:23, 4 users, load average: 0.06, 0.04, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

kgroneman
31-May-2012, 16:13
Guys, as Malcolum says, it's really best to take this over to the
openSUSE technical forums where openSUSE tech gurus hang out. You're
much more likely to find answers there.

http://forums.opensuse.org

--
Kim - 5/31/2012 9:12:28 AM

murphy19804
31-May-2012, 16:36
elagrew;2198915 Wrote:
> How you explained it makes no sense to me? "I get a time four hours
> before my local time, instead of four hours ahead" <===I think this says
> the same thing...am I mistaken?
>
> --El
Sorry, my bad. I meant four hours earlier than my local time instead of
four hours later, i. e., my time should be four hours earlier than GMT
but it shows up as four hours later.
Mike


--
murphy19804
------------------------------------------------------------------------
murphy19804's Profile: http://forums.novell.com/member.php?userid=127784
View this thread: http://forums.novell.com/showthread.php?t=456390

murphy19804
31-May-2012, 16:36
kgroneman;2198960 Wrote:
> Guys, as Malcolum says, it's really best to take this over to the
> openSUSE technical forums where openSUSE tech gurus hang out. You're
> much more likely to find answers there.
>
> 'openSUSE Forums' (http://forums.opensuse.org)
>
> --
> Kim - 5/31/2012 9:12:28 AM
Thank you. I will do that.
Mike


--
murphy19804
------------------------------------------------------------------------
murphy19804's Profile: http://forums.novell.com/member.php?userid=127784
View this thread: http://forums.novell.com/showthread.php?t=456390