[Popcon-commits] cvs commit to popularity-contest by ballombe
ballombe at cvs.alioth.debian.org
ballombe at cvs.alioth.debian.org
Sun Mar 26 14:29:50 UTC 2006
Update of /cvsroot/popcon/popularity-contest
In directory haydn:/tmp/cvs-serv3341
Modified Files:
FAQ
Log Message:
Add question about converting timestamp to date.
Index: FAQ
===================================================================
RCS file: /cvsroot/popcon/popularity-contest/FAQ,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- FAQ 26 Mar 2006 13:51:19 -0000 1.11
+++ FAQ 26 Mar 2006 14:29:47 -0000 1.12
@@ -75,4 +75,17 @@
run this commmand as root:
dpkg-reconfigure popularity-contest
-
+
+Q) How can I convert the timestamps in the popcon report to human-readable
+dates ?
+
+A) The timestamps are just the number of seconds since the epoch, namely
+1970-01-01 00:00:00 UTC. You can convert e.g. 1139229934 to a human-readable
+date with
+
+ date -d '1970-01-01 UTC 1139229934 seconds'
+
+or on Etch and later systems, the following is shorter:
+
+ date -d '@1139229934'
+
More information about the Popcon-commits
mailing list