lkml.org 
[lkml]   [2001]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Getting system time in kernel..

On Wed, 03 Oct 2001 15:09:32 +1000, Keith Owens wrote:
>On Tue, 2 Oct 2001 22:01:41 -0700,
>David Schwartz <davids@webmaster.com> wrote:

>> As an example, a filesystem might internally store local times in its
>>inodes. You may not be free to change the on-disk format.

>Whose local time? The local time where the machine is or the local time of
>the user accessing the machine from the other side of the world? There is a
>very good reason why timestamps are GMT (UTC).

Well that's an argument in favor of two things:

1) Avoiding such situations whenever possible by using UTC timestamps in
things like filesystems, and

2) Making local time offsets tuneable for each case where you need one. The
physical location of the machine might or might not be meaningful.

DS




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.041 / U:3.672 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site