From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Burton Samograd Newsgroups: gmane.emacs.help Subject: Re: efficiently viewing Unix timestamps as dates Date: Thu, 16 Dec 2010 13:48:55 -0700 Message-ID: References: <87mxo9mvxm.fsf@lifelogs.com> <87bp4la59u.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1292532843 26879 80.91.229.12 (16 Dec 2010 20:54:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 16 Dec 2010 20:54:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 16 21:53:59 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PTKpn-0007P7-Qk for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Dec 2010 21:53:59 +0100 Original-Received: from localhost ([127.0.0.1]:56775 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTKpf-0005XZ-IT for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Dec 2010 15:53:47 -0500 Original-Received: from [140.186.70.92] (port=32943 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTKpM-0005XK-OU for help-gnu-emacs@gnu.org; Thu, 16 Dec 2010 15:53:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTKpL-00080t-FK for help-gnu-emacs@gnu.org; Thu, 16 Dec 2010 15:53:28 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:41244) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTKpL-000809-9d for help-gnu-emacs@gnu.org; Thu, 16 Dec 2010 15:53:27 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PTKpI-0007By-WB for help-gnu-emacs@gnu.org; Thu, 16 Dec 2010 21:53:25 +0100 Original-Received: from calgary.userful.ca ([199.126.15.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Dec 2010 21:53:24 +0100 Original-Received: from burton by calgary.userful.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Dec 2010 21:53:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 15 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: calgary.userful.ca User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:0Lx+QAmHE9D/nfWGGXOQyjQ1Wwc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:77601 Archived-At: Ted Zlatanov writes: > On Thu, 16 Dec 2010 00:28:38 -0700 Kevin Rodgers 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