[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how do you compute date difference in emacs?
From: |
David Kastrup |
Subject: |
Re: how do you compute date difference in emacs? |
Date: |
Tue, 04 May 2010 15:44:57 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux) |
Xah Lee <xahlee@gmail.com> writes:
> On Apr 16, 1:50 pm, José A. Romero L. <escherdra...@gmail.com> wrote:
>> On 16 Kwi, 20:23, Xah Lee <xah...@gmail.com> wrote:> computing dates.
>>
>> > Recently i needed to compute dates in emacs.
>>
>> > For example, i need to find out:
>> > 2010-04-16 - 215 days.
[...]
> Thanks for both replies. After spending about 10 min on each suggested
> solution, still can't solve it, i end up google for a date calculator
> and and in 10 sec found
> http://www.timeanddate.com/date/dateadd.html
> and finished doing what i needed for 5 calculations of dates.
You could do
C-x * q <2010-04-16>-215 RET
That's rather simple to use. You can yank the result using C-y after
that.
--
David Kastrup