From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giles Chamberlin Newsgroups: gmane.emacs.help Subject: Re: Date manangement. Date: Tue, 25 Mar 2008 13:00:52 +0000 Message-ID: <87d4pjrm9n.fsf@tandberg.com> References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1206556955 16781 80.91.229.10 (26 Mar 2008 18:42:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Mar 2008 18:42:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 26 19:59:28 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Jeapn-00084d-Du for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Mar 2008 19:58:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JeaZG-00035O-Em for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Mar 2008 14:41:46 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 11 Original-X-Trace: individual.net 4mtfPyT9AAeEl9+ZZP1ZEwOpXPgeOOpOAEZtuhioOADWdxB5rl Cancel-Lock: sha1:FPnyUHuEGkf+AcbucnDuPI0eYLk= sha1:d5Og+oklD2iKEsCc7r+BtXQZP0s= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:157315 X-Mailman-Approved-At: Wed, 26 Mar 2008 14:41:18 -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:52709 Archived-At: Timothy Hobbs writes: > > Is there a good way to add on day to a date of any sort? time-date.el doesn't > seem to be good at this. What I need to do is add a day, incramenting months, > and years, correctly, so 2008/03/31+1 = 2008/04/00 not 2008/03/32... Have a look at calendar-absolute-from-gregorian which returns an integer rep of the date which you can then do arithmetic with. -- Giles