[Top][All Lists]

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

Re: diary question

From: Edward M. Reingold
Subject: Re: diary question
Date: 04 Nov 2003 11:00:07 -0600
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

>>>>> "RG" == Rudy Gevaert <> writes:

    RG> Hi How can I mark al the uneven weeks?
Do you mean the ISO week numbering?  If so, for example, a diary entry for the 
Monday of each such week would be

&%%(let* ((iso-date (calendar-iso-from-absolute
                     (calendar-absolute-from-gregorian date)))
          (week (extract-calendar-month iso-date))
          (day (extract-calendar-day iso-date)))
     (and (= day 1)
          (= (% week 2) 1))) Today is Monday of an odd week


Professor Edward M. Reingold                Email:
Chairman, Department of Computer Science    Voice: (312) 567-3309
Illinois Institute of Technology            Assistant: (312) 567-5152
Stuart Building                             Fax:   (312) 567-5067
10 West 31st Street, Suite 236
Chicago, IL  60616-3729  U.S.A.

reply via email to

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