Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.linux.suse    |    Suse is actually not that bad    |    138,051 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 137,404 of 138,051    |
|    William Unruh to William Unruh    |
|    Re: UTC Time Stamps For Files on Flash D    |
|    01 Dec 21 19:14:02    |
      From: unruh@invalid.ca              To expand, all times on a Linux system are UTC. All file tins/dates are       UTC. When programs like date, or ls -l deliver a user readable time to       the user, they send the UTC time to a subroutine, whichdetermines what       the relation between local time and UTC is and translate the UTC time to       localtime. Internally however, the system makes all comparisons etc with       UTC times not local times. Otherwise you could get problems. You hop on       a plane, fly over 2 timezones west and now the files would be out by 2       hrs into the future. Ie, it could find a bunch of files which all have a       time an hour or so in the future. The OS does NOT like that. It can       cause immense problems. Thus everything, except human reading, is in       UTC. If you take that usb stick and read it in Linux, the times       displayed will be the correct localtime since Linux will have translated       them from UTC to human time. If you read them on a Windows system set up       for localtime, it will read the times as localtime and they wil be out       by whatever the difference is between localtime and UTC.              Flying from Hawaii to Nauru for example you will find on Windows that       the files are all almost 24 hours in the future. Windows users will       probably just leave their timezone to Hawaii time zone, and put up with       it being 22 hours out. In Linux you just change the translation file       (/etc/localtime) using the files in /etc/zoneinfo to the appropiate       one, and everything will work.All times will be displayed in Nauru       times, and the system will keep using UTC.                     On 2021-12-01, William Unruh |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca