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 16:50 99% ` Alex Schuster
  0 siblings, 0 replies; 1+ results
From: Alex Schuster @ 2011-05-28 16:50 UTC (permalink / raw
  To: gentoo-user

Dale asks:

> 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.

It's seconds since 1970. You can convert them like this:
date -d @1306574899

	Wonko



^ 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 16:50 99% ` Alex Schuster

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