[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Decode unixtime



T o n g wrote:

> Hi,
>
> Which tool can help me decode the Unix time? E.g., strings like
> 1257624539, 1258162046, 1257623988, 1257709563, etc. they are about 68
> days ago.
>
> Thanks
>


It's not well documented, but: date -d, with an '@' before it:

chrisj@hercule$ date -d '@1257624539'
Sat Nov  7 20:08:59 GMT 2009

--
Chris Jackson
Shadowcat Systems Ltd.


Reply to: