Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > VectorLinux
User Name
VectorLinux This forum is for the discussion of VectorLinux.


  Search this Thread
Old 07-30-2012, 01:56 AM   #1
Senior Member
Registered: Apr 2006
Distribution: MX (desktop: XFCE 4)
Posts: 2,112

Rep: Reputation: 77
setting the clock

I can't figure out how to set the clock in VectorLinux (with XFCE), and I need to--it's displaying the wrong time (even though it's set to the correct timezone). Neither left-clicking nor right-clicking on the clock offers an option to change the time.
Old 07-30-2012, 08:56 AM   #2
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060
You set the clock with the date utility (as root) in a terminal window.

The form is, for setting the clock to local time,
date -s "STRING"
where STRING is
to set the time of day (24-hour!).

If your system clock is set to UTC and you want to set the clock to 13 hours, 30 minutes and 30 seconds UTC you would
su - (or sudo)
date -u -s "13:30:30"
Note that the display time will be your local time, not UTC (unless, of course, your time zone is 0 degrees longitude, eh?).

See the manual page for date or info coreutils 'date invocation' for more information.

Hope this helps some.
1 members found this post helpful.
Old 07-30-2012, 12:34 PM   #3
Senior Member
Registered: Apr 2006
Distribution: MX (desktop: XFCE 4)
Posts: 2,112

Original Poster
Rep: Reputation: 77
Got it. Thank you. The desktop clock display takes some time to adjust.
Old 07-30-2012, 03:00 PM   #4
Registered: May 2012
Posts: 426

Rep: Reputation: 52
You should also be able to use vzoneset in Vector to change UTC to local time.


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
setting bios clock? skoinga Linux - General 3 09-28-2010 06:32 AM
SUSE 9.3 clock setting ionmich SUSE / openSUSE 1 10-17-2005 01:50 PM
setting the clock dasy2k1 Linux - Newbie 6 10-08-2005 03:19 PM
setting the hardware clock.. kurrupt Linux - Hardware 1 08-26-2004 12:00 AM
Setting Clock ArthurDent Linux - Newbie 2 03-27-2004 08:09 AM > Forums > Linux Forums > Linux - Distributions > VectorLinux

All times are GMT -5. The time now is 08:55 AM.

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