Results 1 to 7 of 7

Thread: using different timezone

  1. #1
    Join Date
    Oct 2009
    Beans
    322

    using different timezone

    Just wondering if a person set a different timezone, than theirs during installation, would it mess up anything besides the time? Is it just to have the right time for you? Thanks for any answers to my random thoughts.

  2. #2
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    27,391
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: using different timezone

    A long time ago it caused me issues installing apps from the repositories if I remember correctly.

    Edit:

    Now that I have thought more about it, I believe the issue was with the CMOS clock reporting the wrong time that caused my issue.
    Last edited by wildmanne39; 1 Week Ago at 03:35 AM.

  3. #3
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: using different timezone

    Quote Originally Posted by crip720 View Post
    Just wondering if a person set a different timezone, than theirs during installation, would it mess up anything besides the time? Is it just to have the right time for you? Thanks for any answers to my random thoughts.
    A proper Unix system knows UTC and internally represents everything using that. The TZ environment variable is what controls how the time is displayed. I simply change that in my ~/.bashrc file to control what timezone gets displayed when I travel. For example:
    Code:
     
    #export TZ='Europe/London'; 
    #export TZ='Asia/Bangkok'; 
    # export TZ='Asia/Seoul'; 
    # export TZ='Asia/Kathmandu'; 
    # export TZ='Europe/Amsterdam'; 
    # export TZ='Africa/Johannesburg'; 
    export TZ='America/New_York';
    Just ensure the TZ you want active is uncommented. Then logout and login again.

  4. #4
    Join Date
    Oct 2009
    Beans
    322

    Re: using different timezone

    So you are saying that if I on purpose set the wrong time zone, the only thing that would happen is that I might miss a favourite TV show.

  5. #5
    Join Date
    Feb 2010
    Location
    South of the Maple Trees
    Beans
    Hidden!
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: using different timezone

    Quote Originally Posted by crip720 View Post
    So you are saying that if I on purpose set the wrong time zone, the only thing that would happen is that I might miss a favourite TV show.
    Yes. Selecting New York, instead of Seattle will only alter the clock.

  6. #6
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: using different timezone

    Quote Originally Posted by uRock View Post
    Yes. Selecting New York, instead of Seattle will only alter the clock.
    It will alter the display of the time, not the actual time that the system knows. UTC will not be altered at all, just by changing the TZ environment variable. In fact, if you open 10 different terminals and set each to a different, valid, TZ, then run 'date' to get the current time, each will display that information for just the timezone based on the environment variable. The actual system clock wont be touched.

  7. #7
    Join Date
    Feb 2010
    Location
    South of the Maple Trees
    Beans
    Hidden!
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: using different timezone

    Quote Originally Posted by TheFu View Post
    It will alter the display of the time, not the actual time that the system knows. UTC will not be altered at all, just by changing the TZ environment variable. In fact, if you open 10 different terminals and set each to a different, valid, TZ, then run 'date' to get the current time, each will display that information for just the timezone based on the environment variable. The actual system clock wont be touched.
    Yup. I've never paid any mind to the system clock. Just the one in the panel and the one showing in my Motion video clips.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •