Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



The Friday 2007-11-30 at 22:22 -0600, Bryen wrote:

On Sat, 2007-12-01 at 05:00 +0100, Carlos E. R. wrote:
rpm -q -a --queryformat "%{INSTALLTIME}\t%{INSTALLTIME:day} \
    %{BUILDTIME:day} %-30{NAME}\t%15{VERSION}-%-7{RELEASE} \
    %25{PACKAGER}\n" | sort | less -S

That's very cool.  What does the first column represent?  I'm assuming
it is install time based on unix time?

Some internal time representation, I think seconds from certain date which I think is called unix time, yes.

Unix Time starts with t=0 seconds at
00:00, between 31 Dec 1969 and 01 Jan 1970,
which is also knows as "the epoch."

System time is an unsigned 32-bit number representing
the number of seconds since "the epoch."

32-bit time will run out sometime in 2038.
This gives us 31 years to convert to 64-bit time.



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to