[Tutor] Question about time module

Jeff Shannon jeff@ccvcorp.com
Wed, 07 Aug 2002 09:35:57 -0700


ibraheem umaru-mohammed wrote:

> [Gus Tabares wrote...]
> -|
> -| 1. A particular period of history, especially one considered remarkable or
> -| noteworthy.
> -|
>
> In this case, the Epoch is 00:00:00 January 1, 1970, Coordinated
> Universal Time (UTC).

For the record, the Epoch (in this sense) has little to do with Python, which
merely re-uses the standard Unix definition.  Unix stores all time values as
seconds since the Epoch -- so that the date & time listed above is stored as 0.
This method of tracking time became ingrained in the standard C library (as C
originated with Unix), and was thus introduced into Windows.  Other OSes have
used other values as their own Epoch, but the Unix definition of it has become
pretty much the standard.

The story is that the Epoch was when the first Unix system went online (rounding
back to the beginning of that year, presumably).

Jeff Shannon
Technician/Programmer
Credit International