LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 05-23-2008, 08:40 AM   #1
cmnorton
Member
 
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, 09:00 AM   #2
b0uncer
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, 10:01 AM   #3
cmnorton
Member
 
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:

http://ubuntuforums.org/showthread.php?t=804613

Turns out I had no /etc/localtime.
 
  


Reply


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


All times are GMT -5. The time now is 09:36 PM.

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