Garayed.com  

Go Back   Garayed.com > Linux
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-04-2006, 05:21 PM
Unruh
 
Posts: n/a
Default Re: Is Daylight Savings enabled ?

kejoseph@hotmail.com writes:


>I have Redhat Linux Enterprise AS 3.3 and 4.x.


>I need to know whether Daylight Savings Time is enabled on my server. I
>simply cannot figure out where this setting is. If anyone knows where
>this setting is please let me know.


?? It isn't. the display of date and time are controlled by a file called
/etc/localtime
which is a copy of a tz database timezone file. It tells the ssytem exactly
when and for what dates that location used what time (as related to UTC)
Your system itself uses UTC in all its clocks. the localtime file controls
the display, not what goes on inside.
If you want a different timezone, copy in a different file
(/usr/share/zoninfo) into /etc/localtime.

Your system will immediately display the new timezone.
There is no "daylight saving flag"

Note that this will display the correct official time for your locality
even for dates in the past (eg your location may have decided to use
Zambian time for two months in 1922. The timezone file will contain that
and when you ask for a time during those two months you will get the
correct local time.)



>Ideally, I would like to know how to enable/disable it too.


>I have tried timeconfig but that does not provide any option.


>Kevin.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:22 AM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.