public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] Converting time formats
  @ 2011-05-28 17:30 99% ` Florian Philipp
  0 siblings, 0 replies; 1+ results
From: Florian Philipp @ 2011-05-28 17:30 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 702 bytes --]

Am 28.05.2011 18:37, schrieb Dale:
> I asked this once before but I can't find it.  I have a log file that
> has time stamps that look like this:
> 
> lastrun = 1306574899
> 
> What do I use to get the human time for that?  I thought it was the date
> command but I couldn't find it in the man page.  I tried google but I
> can't recall what that time stamp is called either so not sure what to
> search for.
> 
> Could someone enlighten me a little bit here?
> 
> Thanks.
> 
> Dale
> 
> :-)  :-)
> 

date --date=@1306574899
looks sensible. I've found this on the info page:
`info date` -> "Date input formats" -> "Seconds since the Epoch"

Hope this helps,
Florian Philipp


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2011-05-28 16:37     [gentoo-user] Converting time formats Dale
2011-05-28 17:30 99% ` Florian Philipp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox