Re: Setting time zone

From: bwinter (bwinter_at_acornpacket.com)
Date: 06/28/05

  • Next message: Jacques-Andre Boulay: "Re: Internet slow starting speed"
    Date: Tue, 28 Jun 2005 20:50:03 +0000
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    Truls,

    Here is a short howto that I put together last year if you want to
    adjust your timezone from the command line:

    === START ============

    These are instruction for changing the timezone of a linux computer
    from the command line. You must have root privileges.

    In order to get the particular zone you wish you must locate and
    record the path of the file within the directory /usr/share/zoneinfo/
    that has the filename which best describes the desired timezone. Some
    common examples which you may use are:

         /usr/share/zoneinfo/America/New_York
         /usr/share/zoneinfo/America/Los_Angeles
         /usr/share/zoneinfo/Europe/London
         /usr/share/zoneinfo/Asia/Bahrain
         /usr/share/zoneinfo/UTC

    Next Vi the file /etc/sysconfig/clock. It will look something like this:

         ZONE="America/New_York"
         UTC=true
         ARC=false

    Set the ZONE variable to the file path you selected, leaving off the
    path root of “/usr/share/zoneinfo/”. Leave UTC set to true, it should
    only be set to false on dual boot machines with Windows installed. The
    ARC option is relevant to Alpha machines only, should be set to false
    here. It indicates the ARC console's 42-year time offset is in
    effect. If not set to true, the normal Unix epoch is assumed. Save and
    exit out of Vi.

    Now you need to link the file /etc/localtime to the selected zoneinfo
    file:

         [root@ctpview]# ln -sf /usr/share/zoneinfo/America/New_York
    /etc/localtime

    The last step is to reboot the server:

         [root@ctpview]# shutdown -r now

    You can check the new settings with:

         [root@ctpview]# date
         Fri Apr 8 09:50:49 EDT 2005

    == END ============

    --Bob

    Truls Gulbrandsen wrote:
    > -----BEGIN PGP SIGNED MESSAGE-----
    >
    > Hi,
    > can someone please assist me in setting the correct time zone.
    >
    > Regards,
    > Truls

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Jacques-Andre Boulay: "Re: Internet slow starting speed"

    Relevant Pages

    • Re: Outlook Task Start and Due Dates Change When Syncing
      ... Did you set the Regional Settings in OWA? ... This is where you specify the timezone you are in for OWA, Otherwise it will default to the server's timezone. ... > Are all the PCs and Windows Mobile device on the same timezone? ...
      (microsoft.public.pocketpc.activesync)
    • Re: Keeping time in sync with desktop
      ... Note that it is necessary to assure that the timezone settings are correct and the same on both the sync pc and the winmobile device. ... And if THAT complication wasn't enough, most Windows Mobile phones also automatically set the time from signals received from the mobile operator. ... Some mobile operators also reset the time zone, causing interesting results in some zones. ...
      (microsoft.public.pocketpc)
    • RE: timezone command
      ... I know how to set timezone, ... I am looking for command to display on the console screen the ... systems timezone in this kind of format "-00:00" ... > Time zone has been set during sysinstall. ...
      (freebsd-questions)
    • Re: DateTime DeSerialization problem
      ... zone everything's fine however if i am in GMT + 5.30 i get the ... If you are not in timezone ... applied so that the resulting DateTime object is a Utc type. ... local time, or the original timezone of offset +02:30). ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: Change timezone WITHOUT changing appointment times
      ... I think the issue then is not the implementation of the Time Zone but the ... Along with the Appointment subject... ... Example: Meeting with Board ... > I think that is why it is called TimeZone... ...
      (microsoft.public.pocketpc)