0

this is a line from access.log file which log the access Info of Squid:

1286536351.746  41762 192.168.0.227 TCP_MISS/200 5340945 GET http://v15.lscache3.c.youtube.com/videoplayback? - DIRECT/122.160.120.150 video/x-flv

as we know the first column 1286536351.746 is representing the time stamp how can I get the date and the time from this field?

3

From here.

me@host:~$ date -d @1286536351.746
Fri Oct  8 11:12:31 UTC 2010

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.