[CentOS] TimeZone Mystery on a virtual dedicated server

Robert kerplop at sbcglobal.net
Mon Dec 29 18:05:37 UTC 2008


Justin Piszcz wrote:
> On Mon, 29 Dec 2008, Ami Mahloof wrote:
>
>   
>> Hi,
>>
>> I have a weird problem woth the time zone on my virtual (goDaddy) dedicated
>> server
>>
>> I had to setup the timezone using system-config-date to GMT+7
>>
>> i am in NY (GMT-5)
>>
>> when i do GMT-5 i get all the times 2 hours ahead
>>
>> seems like there's something im missing here
>>
>> If i add an event to my web app let's say 7:30 - 8:15 , the only way for me
>> to show it right is GMT+7
>>
>> can anyone help me figure out what am i missing here???
>>
>> Thanks
>> Ami
>>
>>     
>
> Odd,
>
> What does the following show?
> zdump /etc/localtime
>
> And when you change it to GMT-5?
>
> Also, why not use EST for the system time?
>
> Justin.
>   
More oddity.   Out of perfect clarity, total confusion:

    # date ; for i in EST CST MST PST ; do zdump $i ; done; date
    Mon Dec 29 11:55:09 CST 2008
    EST  Mon Dec 29 12:55:09 2008 EST
    CST  Mon Dec 29 17:55:09 2008 CST
    MST  Mon Dec 29 10:55:09 2008 MST
    PST  Mon Dec 29 17:55:09 2008 PST
    Mon Dec 29 11:55:09 CST 2008




More information about the CentOS mailing list