time zone question
Bill Campbell
bill at celestial.com
Fri Jan 7 15:28:14 PST 2011
On Fri, Jan 07, 2011, Jean-Pierre A. Radley wrote:
>Richard Kreiss propounded (on Fri, Jan 07, 2011 at 01:11:37PM -0500):
>| Client with people logging in across the country using Terminal Server.
>| Windows Server
>|
>| Server located in New York
>|
>| Login from California
>|
>| Program time stamps when certain files are added. Is the time used the time
>| on the server which was logged in to or the local time of the computer
>| logging in?
>
>Gedankenexperiment:
>One computer, one login.
>Find the timestamp for some file.
>Change the copmputer's timezone.
>What should now be seen as the timestamp?
>
>Create a new file, observe its timezone.
>Revert the computer's timezone to what it was.
>Check the timestamp of that new file.
>
>Alternate experiment:
>Be on the phone with a user across the country.
>Compare the timezone each of you sees for the same file.
The time displayed with 'ls -l' or equivalent will normally be in
the local time zone (e.g. PST here).
In your last experiment, viewing the same file, if it's mounted
to the local system with AFS, NFS, etc., it should display with
the local computer's time zone.
This is generally true on *nix systems, but may differ with
Windows, particularly if the system is installed using localtime
instead of UTC (nee Greenwich Mean Time) in the system clock.
Bill
--
INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
Voice: (206) 236-1676 Mercer Island, WA 98040-0820
Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792
Socialism, like the ancient ideas from which it springs, confuses the
distinction between government and society. As a result of this, every time we
object to a thing being done by government, the socialists conclude that we
object to its being done at all. -- Frederic Bastiat
More information about the Filepro-list
mailing list