-   Slackware (
-   -   Date and time. (

vexer 08-13-2003 11:18 PM

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)


zsejk 08-13-2003 11:20 PM

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



vexer 08-13-2003 11:34 PM

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 :D )


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