From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.help Subject: Re: How to make "the end date of the month" in diary Date: Wed, 24 Feb 2010 12:10:24 -0800 Organization: None Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1267044208 19327 80.91.229.12 (24 Feb 2010 20:43:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 24 Feb 2010 20:43:28 +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 Feb 24 21:43:25 2010 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.69) (envelope-from ) id 1NkO4p-0007SH-9K for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Feb 2010 21:43:23 +0100 Original-Received: from localhost ([127.0.0.1]:49529 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NkO4o-0000AS-Mi for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Feb 2010 15:43:22 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 9 Original-NNTP-Posting-Host: xoc2.stanford.edu Original-X-Trace: usenet.stanford.edu 1267042224 15624 171.64.109.31 (24 Feb 2010 20:10:24 GMT) Original-X-Complaints-To: action@cs.stanford.edu X-Spook: weapons twin towers oppressed tunneling crack-cocaine X-Ran: &Jy,Au2~>|YFalJrlP=q9}%D4(NM_/_Y@3e;kJ840;hn$R~/6|FzR#47R#:dn!D/PVD)w` X-Hue: blue X-Attribution: GM Mail-Copies-To: nobody User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cancel-Lock: sha1:PTFya4AniyIOK4g+mVmnYyi+5pQ= Original-Xref: news.stanford.edu gnu.emacs.help:177075 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:72113 Archived-At: 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