help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: efficiently viewing Unix timestamps as dates


From: Burton Samograd
Subject: Re: efficiently viewing Unix timestamps as dates
Date: Thu, 16 Dec 2010 13:48:55 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Ted Zlatanov <tzz@lifelogs.com> writes:

> On Thu, 16 Dec 2010 00:28:38 -0700 Kevin Rodgers <kevin.d.rodgers@gmail.com> 
> wrote: 
> The Unix timestamp can be converted to a visual date with
> `format-time-string', e.g.
>
> M-: (format-time-string "%F %T" (current-time))

Or from the shell:

$ date --date=@1292532703
Thu Dec 16 13:51:43 MST 2010

--
Burton Samograd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]