LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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
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, 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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration