Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 05-23-2008, 09:40 AM   #1
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
Why does date always display utc?

I've looked through several older posts on this issue. My gui clocks show local time. The date command displays utc. I have gone into settings, and changed everything I can find to take the correct timezone and so on.

What settings do I use to change the output of date.
Old 05-23-2008, 10:00 AM   #2
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Mine does print correct timezone..are you sure your locale settings are all right?
Old 05-23-2008, 11:01 AM   #3
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Original Poster
Rep: Reputation: 35
found solution

Wound up doing this:

sudo ln -s -f /usr/share/zoneinfo/America/New_York /etc/localtime

found here:

Turns out I had no /etc/localtime.


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
'date' always shows utc ! premnarayan Linux - Newbie 5 04-10-2013 09:41 PM
previous day date display script tmaxx Linux - General 3 04-20-2007 02:20 AM
display date user52 Linux - Newbie 2 11-28-2006 08:20 AM
Cannot set time/date to other time zone than UTC (Kubuntu) jamangold Ubuntu 1 12-23-2005 06:42 PM
Date display in Thunderbird kbcnetau Linux - Software 5 04-08-2005 09:27 PM

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