Up: Time   [Contents][Index]

7.1 POSIX Time

In POSIX systems time is encoded as a certain number of seconds elapsed since some origin date, namely the first of January 1970. The time pickle provides two types for 32-bit and 64-bit POSIX time encodings:


A function ptime is also provided, that prints a human-readable representation of a POSIX date, given a number of seconds.