|
|
Log in / Subscribe / Register

Quote of the week

Quote of the week

Posted Nov 21, 2013 16:22 UTC (Thu) by robbe (guest, #16131)
In reply to: Quote of the week by jzbiciak
Parent article: Quote of the week

> Wall clock time from whose perspective, though?

Where the event happened. I had something like an event database in mind. Let's say a sensor reading is out of bounds and you want to store that. My point is that, three years later, when the court case is running, you would want to correlate the DB contents with the paper logbook that a worker keeps (in wall clock time, of course!). You would probably be able to, as said worker will be in a definite location with a definite timezone, but storing the offset alongside UTC would make it easier still. And it's only eight bit (seven if you're a miser)!

File systems are an interesting case. We would have to store the timezone offset of the current process updating a file along the utc mtime. Problem being, the timezone is a userland-only concept...


to post comments

Quote of the week

Posted Nov 21, 2013 17:24 UTC (Thu) by jzbiciak (guest, #5246) [Link]

Storing the offset for the location of the event makes sense if you need to quickly contextualize back into the context where the reading was made, sure. I still vote for recording UTC + offset as opposed to localtime + offset. If you've ever tried to interpret timestamps in SMTP headers, it can be rather confusing for email crossing multiple timezones.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds