On Sunday 27 January 2008, Greg Bowser wrote: > Hi, > Those dates are in a format called "unix timestamps", which represent > the number of seconds since the unix epoch (Jaunuary 1st, 1970). You > can get the current unix timestamp via the date command (date +%s). As > far as any command-line utility to convert them,I leave that to > Google. However, most programming languages provide functions to > convert between timestamp formats.
Thanks Greg, It's amazing what one can dig out from Google: perl -pe 's/(\d+)/localtime($1)/e' /var/log/<logfile_name> -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.