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.

-- Greg

On Jan 27, 2008 4:54 PM, Mick <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I am sure that someone has asked this before, but a cursory look doesn't bring
> anything up.  I am going through some logs and I cannot understand what the
> time was when certain events took place:
>
> [1200806556] SERVICE ALERT: router.xxxxxxxxxxxxxxxxxxxxxxx
> [1200806576] SERVICE ALERT: router.xxxxxxxxxxxxxxxxxxxxxxx
> [1200806891] HOST ALERT: router.xxxxxxxxxxxxxxxxxxxxxxxxxx
> [1200806891]
>
> Could you please tell me how to interpret/parse these so that they show time
> in hrs:min so that I can understand it?  (anything I could feed to less would
> be grand).
> --
> Regards,
> Mick
>
-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to