public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Florian Philipp <lists@binarywings.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Converting time formats
Date: Sat, 28 May 2011 19:30:45 +0200	[thread overview]
Message-ID: <4DE13145.80801@binarywings.net> (raw)
In-Reply-To: <4DE124C2.3050809@gmail.com>

[-- 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 --]

  parent reply	other threads:[~2011-05-28 17:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-28 16:37 [gentoo-user] Converting time formats Dale
2011-05-28 16:45 ` [gentoo-user] " Nikos Chantziaras
2011-05-28 16:50 ` [gentoo-user] " Alex Schuster
2011-05-28 17:31   ` Dale
2011-05-28 17:30 ` Florian Philipp [this message]
2011-05-29  0:48 ` William Kenworthy
2011-05-29  2:28   ` Dale
2011-05-29 10:10     ` Neil Bothwick
2011-05-29 13:55       ` Dale
2011-05-29 21:08         ` Neil Bothwick
2011-05-29 21:42           ` Dale
2011-05-29 22:18     ` Henry Gebhardt
2011-05-30  9:16       ` Florian Philipp
2011-05-29 10:08   ` Mick
2011-05-29 13:07     ` William Kenworthy
2011-05-29 13:47   ` Peter Humphrey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DE13145.80801@binarywings.net \
    --to=lists@binarywings.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox