Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-13-2003, 10:18 PM   #1
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
Date and time.

I have openbox installed.

Openbox's clock reads 03:14am (incorrect)

while date gives me this:

Wed Aug 13 23:15:24 EDT 2003 (correct time)

Anyone know how to fix this? I know the problem is that openbox is UTC and date is EDT but I don't know how to make them both EDT.

(date -u :Thu Aug 14 03:15:28 UTC 2003)

Old 08-13-2003, 10:20 PM   #2
Registered: Apr 2003
Distribution: Slackware
Posts: 345
Blog Entries: 5

Rep: Reputation: 30
I really don't know about your specific issue, but if you look at it might have something that will solve your problem.

Old 08-13-2003, 10:34 PM   #3
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Original Poster
Rep: Reputation: 30
your answer semi-helped. While looking at the website you gave me they displayed 2 programs, clock and hwclock with switches. Not knowing about those 2 programs didn't help. I did a man clock and it gave me the function clock() and I mainly focused on clock instead of hwclock since well, no idea. Anyways, long story short

# clock -h
# clock --systohw

the --systohw switch gives the hardware clock the same time as the system clock. (There is also a --hwtosys option incase anyone ever gets the reverse of my problem )



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
Start Date + Time Duration = End Date/Time calculator? ToBe Linux - General 3 09-26-2005 10:17 AM
date and time osheasf Linux - Software 1 06-15-2005 07:47 AM
date/time in c++ 1337 Twinkie Programming 3 01-01-2005 12:23 AM
Display the date and time from another time zone lothario Linux - Software 4 07-31-2004 03:27 PM
Date and Time mairul Debian 7 12-25-2003 12:26 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:13 PM.

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