[COLUG] Linux and UTC
Rob Funk
rfunk at funknet.net
Mon Jul 30 14:29:33 EDT 2007
Jeff Frontz wrote:
> I'm not sure of the context, but most systems keep time as a vector
> from some epoch. As such, the vector has no time zone--it's merely a
> delta from some known point in time. The description of the epoch is
> the only place that a timezone (e.g., January 1, 1970 00:00:00 UTC).
Sure it's all just an integer when you get down to it, but when you put it
in a time context you have to account for consistent units:
(time0 in UTC) + (t seconds) = (time1 in UTC)
(time0 in UTC) + (t seconds) + (local timezone offset) =
(time1 in local timezone)
--
==============================| "A microscope locked in on one point
Rob Funk <rfunk at funknet.net> |Never sees what kind of room that it's in"
http://www.funknet.net/rfunk | -- Chris Mars, "Stuck in Rewind"
More information about the colug432
mailing list