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

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

Re: How to make "the end date of the month" in diary


From: Glenn Morris
Subject: Re: How to make "the end date of the month" in diary
Date: Wed, 24 Feb 2010 12:10:24 -0800
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Kiwon Um wrote:

> The diary-float function has a powerful date calculation ability.
> Then, how can I calculate "the end date of the month"?

%%(let ((day (calendar-extract-day date))
        (month (calendar-extract-month date))
        (year (calendar-extract-year date)))
    (= day (calendar-last-day-of-month month year))) Last day of month


reply via email to

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