Nevin Swan wrote: > Hi guys, > > How do you convert a linux timestamp (in a squid access.log for example) into > real human time? >
from the info page for date, you can add the number of seconds to the beginning of the epoch here is an example: [bhughes@bretdell_linux bhughes]$ date Tue Dec 4 22:05:47 CST 2001 [bhughes@bretdell_linux bhughes]$ date '+%s' 1007525149 [bhughes@bretdell_linux bhughes]$ date -d ' 1970-01-01 1007525149 sec' Wed Dec 5 04:05:49 CST 2001 Bret _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list