LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Non-*NIX Forums > General
User Name
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!


  Search this Thread
Old 06-30-2005, 04:46 PM   #1
LQ Newbie
Registered: Feb 2005
Posts: 4

Rep: Reputation: 0
changing the time in the system tray

to whom it may concern,

I'm new to linux,. Is there a way to change the time in the sytem tray from miltary time format to 12 hour format. if so, any feedback will be great

Old 06-30-2005, 07:55 PM   #2
Registered: Dec 2003
Location: Houston
Distribution: Windows Vista/ XP/ Mepis
Posts: 304

Rep: Reputation: 30
Right click on the clock and you should get a menu. Click on Date and Time Format
Change the HH or hH code to PH or pH.

Time format codes:

HH - The hour according to a 24-hour clock, using two digits (00 to 23).

hH - The hour according to a 24-hour clock, using one or two digits (0 to 23).

PH (uppercase eye) - The hour according to a 12-hour clock, using two digits (01 to 12).

pH (lowercase ell) - The hour according to a 12-hour clock, using one or two digits (1 to 12).

MM - The current minute using two digits (00 to 59).

SS - The current second using two digits (00 to 59).

AMPM - Either “am” or “pm” depending on the hour. Useful with PH or pH.

Or you can use the hwclock command.
I've never used the command so you will have to check the man pages.


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
Changing system date and time from KDE yapp Linux - General 4 04-17-2005 03:40 AM
Changing System Time rjshirts Linux - Software 4 01-24-2005 03:48 PM
Changing icons in the system tray Heretic9 Linux - Newbie 4 11-11-2004 07:22 AM
Things for KDE system tray in gnome system tray Boffy Linux - General 3 09-17-2004 07:56 AM
Changing system time on FreeBSD 4.8 tmakobu *BSD 5 03-31-2004 07:25 AM

All times are GMT -5. The time now is 11:00 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