From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chry Cheng Newsgroups: gmane.emacs.help Subject: Days between dates Date: Fri, 10 Oct 2008 10:52:00 -0700 (PDT) Organization: http://groups.google.com Message-ID: <1a48184e-c58c-4c42-8660-058f514418ed@n33g2000pri.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1223698898 4634 80.91.229.12 (11 Oct 2008 04:21:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Oct 2008 04:21:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 11 06:22:36 2008 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.50) id 1KoVzs-0003Vq-Lo for geh-help-gnu-emacs@m.gmane.org; Sat, 11 Oct 2008 06:22:32 +0200 Original-Received: from localhost ([127.0.0.1]:49413 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KoVyo-00039r-IR for geh-help-gnu-emacs@m.gmane.org; Sat, 11 Oct 2008 00:21:26 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!n33g2000pri.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 9 Original-NNTP-Posting-Host: 203.115.131.74 Original-X-Trace: posting.google.com 1223661120 13305 127.0.0.1 (10 Oct 2008 17:52:00 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 10 Oct 2008 17:52:00 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: n33g2000pri.googlegroups.com; posting-host=203.115.131.74; posting-account=lLCY4QoAAADu1ELhp2oRfbUezxZTkqOm User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.22, gzip(gfe), gzip(gfe) X-HTTP-Via: 1.1 proxy4-roc.bti.net.ph:3128 (squid/2.7.STABLE4) Original-Xref: news.stanford.edu gnu.emacs.help:163332 X-Mailman-Approved-At: Sat, 11 Oct 2008 00:20:55 -0400 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:58685 Archived-At: How does one calculate the no. of days between two dates in Elisp? So far, I have the following: (decode-time (time-subtract (date-to-time "...") (date-to-time "..."))) But decode-time returns dates. I was wondering if there already is a function somewhere unknown to me that would do this.