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

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

Re: Date manangement.


From: Dmitri Minaev
Subject: Re: Date manangement.
Date: Tue, 25 Mar 2008 16:20:36 +0400

On Tue, Mar 25, 2008 at 1:25 AM, Timothy Hobbs <tim.thelion@gmail.com> wrote:
>  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...

Use Calc, either as a separate application (M-x calc), or in embedded
mode (see more in  `info calc`, or from your own lisp code:

(calc-eval "<21 jan 2008> +110")
"<Sat May 10, 2008>"


-- 
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com




reply via email to

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