Re: Setting time zone

From: Truls Gulbrandsen (trulsg_at_broadpark.no)
Date: 06/29/05

  • Next message: Deron Meranda: "Re: Batch creation of PDF files"
    Date: Tue, 28 Jun 2005 23:22:35 +0000
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    bwinter wrote:
    | 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
    |
    |
    Thanks a lot Bob, but there are some hurdles here. Firstly, my
    /usr/share/zoneinfo/ is empty and secondly I don't have Vi but probably
    I can use gedit? and lastly I do have a dual boot with W2k so I should
    go for the UTC=false options?

    regards,
    Truls
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.6 (GNU/Linux)
    Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

    iD8DBQFCwdu7ickK29LSyG8RApXTAJ0exeKOfTS6bweGQYSlKIYTHDPPaACgxWrP
    TeWKgGDoRjh/QLhvFjlGId8=
    =fNOA
    -----END PGP SIGNATURE-----

    
    
    

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

  • Next message: Deron Meranda: "Re: Batch creation of PDF files"

    Relevant Pages

    • 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)
    • Re: Change timezone WITHOUT changing appointment times
      ... having an appointment appear at 9:00am with no reference to the time may ... regardless of which time zone ... and move back to my TimeZone... ... > before my meeting" which based on time zones... ...
      (microsoft.public.pocketpc)
    • Re: Setting time zone
      ... adjust your timezone from the command line: ... These are instruction for changing the timezone of a linux computer ... Set the ZONE variable to the file path you selected, ... You can check the new settings with: ...
      (Fedora)